disableConcurrentBuilds should take an optional boolean parameter that defaults to "true"

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Pipeline is now script, that means that one part of the script (or some library) might call disableConcurrentBuilds and a later part of the script might want to reenable concurrent builds.

      Right now that is not possible:
      https://github.com/jenkinsci/workflow-job-plugin/blob/b7b488057d42a2c4a0f173795dd16bde3b86a3f6/src/main/java/org/jenkinsci/plugins/workflow/job/properties/DisableConcurrentBuildsJobProperty.java

            Assignee:
            Unassigned
            Reporter:
            Liam Newman
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: