throttle-concurrent-builds not work on scripted pipeline

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

XMLWordPrintable

      I have setĀ Throttle Concurrent BuildsĀ like below:

      and my pipeline scripts like below:

      //ä»£ē å ä½ē¬¦
      node("m1||travis") {
        stage("Prepage"){
          //some task like git checkout
        }
        stage("Build") {
          //some code like xcodebuild
        }
      }

      as the code shows, I'm using scripted pipeline. And I found that event though I have set the number of Maximum Concurrent Builds Per Node to 1, Jenkins still build 2 jobs on same node concurrently.

            Assignee:
            Unassigned
            Reporter:
            star zhu
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: