Editorial question141.1K views2,176 votes0 answers3,825 following
AI-generatedStage‑level environment variables in Declarative Pipeline: Do they propagate to the post section?
Unclear Propagation of Stage‑level Environment Variables In a Declarative Pipeline, the environment directive can be placed at the pipeline, stage, or step level. Pipeline‑level variables are universally available, but the spec does not state whether a variable declared inside a stage’s environment block is also visible in that stage’s post block. The goal i