What is a CI/CD pipeline and what are its stages?
BeginnerConceptFundamentals and Pipeline Design
Answer
A pipeline is an automated workflow that takes a commit from source control to a running deployment. It is split into stages, and each stage contains one or more jobs.
A common stage order is: source/checkout → build → unit test → static analysis → package (image/artifact) → publish → deploy to dev/staging → integration/E2E tests → deploy to production → verify. A failed stage stops the pipeline, so later (more expensive) stages never run on a broken build.
More on Fundamentals and Pipeline Design
What is Continuous Integration (CI)?BeginnerWhat is the difference between Continuous Delivery and Continuous Deployment?IntermediateWhy should a pipeline "fail fast", and how do you order stages to achieve it?IntermediateWhat makes a build reproducible, and why does it matter?AdvancedHow does your branching strategy affect CI? Compare trunk-based development with GitFlow.IntermediateWhat is a build artifact?Beginner