Process Flow - Declarative pipeline syntax
Start pipeline
Define pipeline block
Specify agent
Define stages
Stage 1: Steps
Stage 2: Steps
Post actions (optional)
Pipeline ends
The declarative pipeline starts with a pipeline block, specifies an agent, defines stages with steps, and optionally post actions before ending.