Editorial question148.5K views2,151 votes0 answers4,156 following
AI-generatedDeclarative Pipeline agent directive scope limits
Agent Allocation in Heterogeneous Environments Jenkins Declarative Pipelines allow the agent directive to be defined globally or overridden at the stage level. This mechanism is intended to support heterogeneous build environments where different stages require specific OS or tool configurations. When a global agent is defined, it allocates a workspace for t