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

disableConcurrentBuilds not enforced after upgrade to 2.289.1

XMLWordPrintable

      Our team uses a branch build with a scripted pipeline backed by groovy scripts. The branch builds fail when run concurrently. We set them up like this at the top of the groovy script:

      node {
      properties([
      disableConcurrentBuilds(),
      buildDiscarder(logRotator(artifactNumToKeepStr: '10', numToKeepStr: '10'))
      ])
      ...

      After upgrading to 2.289.1 the disableConcurrentBuilds is not respected and the builds are run concurrently... and fail. We do need multiple executors for other jobs so setting # executors to 1 is not a workaround for my team.

      Possibly related to: JENKINS-65673

            Unassigned Unassigned
            mkelandis Michael
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: