Blog62.5K views4,725 votes0 replies2,957 following
Stop Running Every Stage on Every Branch: Jenkins Declarative Pipeline's when Directive
Jenkins Declarative Pipeline's when directive skips stages before they consume executors. Learn the built-in conditions, a worked deploy-gating example, and the trade-offs.