Skip to content
Latchkey

Redirection - CI/CD Glossary Definition

Redirection sends a process stream to or from a file or another descriptor using operators like >, >>, <, and 2>. For example command > out.log 2>&1 captures both stdout and stderr.

In CI

Redirect noisy output to a file you upload as an artifact, then print only a summary to keep logs readable. Note > truncates while >> appends; mixing them up overwrites logs you meant to keep.

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →