Glossary termPractice

CI/CD Pipeline

Also known as: Deployment pipeline, Build pipeline

Automated sequence of stages that builds, tests and releases software changes, combining continuous integration with continuous delivery or deployment.

A CI/CD pipeline is the automated path a code change follows from a developer's commit to a running system. It combines continuous integration, which builds and tests each change, with continuous delivery or continuous deployment, which prepare and release it. A typical pipeline has stages for checking out source code, compiling or packaging it, running unit and integration tests, scanning for security issues, producing a versioned artifact such as a container image and deploying that artifact to test, staging and production environments. Each stage acts as a gate: a failure stops the change from going further.

Pipelines are usually defined as code, in configuration files stored alongside the application in version control and often written in YAML. This makes the release process reviewable and repeatable in the same way as the software itself. Tools include Jenkins, GitLab CI/CD, GitHub Actions and many hosted services. A pipeline is triggered by events such as a push or a pull request, runs its jobs on build agents or runners and reports results back to developers, ideally within minutes so that feedback arrives while the change is still fresh in mind.

Well-designed pipelines build an artifact once and promote that same artifact through every environment, so that what was tested is exactly what is released. Because pipelines hold credentials and can push code to production, they are a target for attackers; supply chain attacks have exploited build systems, prompting practices such as isolated runners, signed artifacts and careful secrets management. Slow or unreliable pipelines are a common source of frustration, and teams invest in caching, parallel jobs and test selection to keep them fast.

Key points

  • A CI/CD pipeline turns each commit into a tested, versioned artifact and moves it toward production.
  • Pipelines are usually defined as code and stored in version control next to the application.
  • Building an artifact once and promoting it through environments ensures that tested code is what ships.
  • Build systems hold powerful credentials, so pipeline security is part of software supply chain security.

Related entries

Glossary term

Continuous Integration

DevOpsProgramming

Development practice in which programmers merge changes into a shared repository frequently, with each change verified by an automated build and tests.

Glossary term

Software engineering approach in which every change is built, tested and prepared so that it can be released to production safely at any time.

Glossary term

GitOps

DevOps

Operational model in which a Git repository holds the declared state of infrastructure and applications, and automated agents keep systems in sync with it.

Technology

Git

ProgrammingDevOpsFOSS

Free and open-source distributed version control system created by Linus Torvalds in 2005, used to track changes in source code.

Technology

GitLab

ProgrammingDevOps

DevOps platform for hosting Git repositories with built-in CI/CD, issue tracking and security tools, available as a service or self-managed.

Glossary term

Attack that compromises software by tampering with its dependencies, build systems or update channels, so trusted code delivers malicious changes to users.

Glossary term

DevSecOps

DevOpsCybersecurity

Extension of DevOps that integrates security practices and automated security testing throughout the software development and delivery life cycle.

Glossary term

Immutable, layered package of an application's files, dependencies and metadata that serves as the template from which containers are started.

Featured in guides

Referenced by

Other entries that discuss or point to CI/CD Pipeline.