Pcornel
Automation · Jenkins

Stages

Cheat sheet · https://pcornel.dk/topic.php?topic=5541

Back to the Topic

Answer

Stages divide a Jenkins pipeline into named phases such as Build, Test and Deploy, shown in the stage view, and can run conditionally with when or in parallel.

Remember

  • Stages are named phases like Build, Test, Deploy.
  • when{} makes stages conditional.
  • parallel{} runs stages at once.

First checks

  • Stage names and order — structure
  • Parallel stages — speed
  • Stage timing — bottlenecks

Verify in this order

stage → steps

Where it usually breaks

Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5541

Confirmation

Confirm action

Continue?