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

Throttle concurrent builds not working as expected

XMLWordPrintable

      Hi,  We are trying to create a concurrent build for a job,

       

      requirement:

      the job should not run concurrently when parameter values are same it should wait until one completes, Whereas when parameter values are different it should run concurrently (simultaneously)

       

      we 1st used Parameter name in "List of parameters to check separated by commas or whitespace" but it does not respond well, then we used parameter values in "List of parameters to check separated by commas or whitespace" , then we got the below results

       

      A combination which we tried: 

      On “Throttle concurrent builds” on Pipeline jobs with parameters with 3 choices (int, uat, sat) and enabled “Prevent multiple jobs with identical parameters from running concurrently” and “List of parameters to check provided” as (int,uat,sat)

       

      Combination and out put

      • int, int, int - 1st job running, 2nd job is pending and 3rd job doesn’t show
      • int, uat, sat – all jobs after 1st job are in pending state (irrespective of parameters.)
      • int, int, sat -  after 1st job, 2nd and 3rd job runs simultaneously
      • int, sat, sat -1st job running, 2nd job is pending and 3rd job doesn’t show 

       

      When enabled “Prevent multiple jobs with identical parameters from running concurrently” and  “List of parameters to check provided” left blank, all jobs are running simultaneously(irrespective of parameters.)

       

       

            topikachu Yi Gong
            saisharan9292 saravanan sekar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: