Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-64508

Add capability for globally configured Declarative when conditions

XMLWordPrintable

      It would be useful to be able to define when conditions that apply globally across all jobs, enabling things like skipping all stages with a certain name pattern (like, say, not running deploy stages on the weekend) or inspecting the stage to see if it is trying to use a service that's currently down. This would require some changes in Declarative to allow plugins to add when condition types that can't be specified in the Jenkinsfile, won't show up in validation, and won't be available in the snippet generator, and parsing/execution-side changes to support transparently adding any configured global conditions to all stages while retaining conditions directly defined on stages.

            abayer Andrew Bayer
            abayer Andrew Bayer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: