Pipeline
A pipeline is an automated sequence of steps that takes code from commit to production — typically building, testing, and deploying it. Pipelines are the backbone of CI/CD.
Git & DevOps
Each stage of a pipeline runs in order, and a failure in one stage usually stops the rest, preventing broken code from reaching users. Stages commonly include install, build, test, and deploy.
You define a pipeline in a configuration file (such as a GitHub Actions YAML file or a Jenkinsfile), and the CI/CD tool runs it automatically whenever you push changes.
Examples
Bash — Each stage runs its jobs in order; later stages run only if earlier ones pass.
# Pipeline stages in GitLab CI (.gitlab-ci.yml)
stages:
- build
- test
- deploy