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

disableConcurrentBuilds not enforced after upgrade to 2.289.1

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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

        Attachments

          Issue Links

            Activity

            Hide
            jglick Jesse Glick added a comment -

            FWIW

            mvn -f workflow-multibranch-plugin test -Dtest=JobPropertyStepTest\#concurrentBuildProperty -Djenkins.version=2.289.1
            

            still passes.

            Show
            jglick Jesse Glick added a comment - FWIW mvn -f workflow-multibranch-plugin test -Dtest=JobPropertyStepTest\ #concurrentBuildProperty -Djenkins.version=2.289.1 still passes.

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              mkelandis Michael
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: