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

Using "Conditional build step" and "Parameterized build step" in same step is preventing parallel executions of same job

      Job A triggers a variable number of job B depending on a environment variable. It can be zero but since "Counter Parameter Factory" doesnt allow zero repetitions (Java exception) I had to include this step as a conditional build step. Job A must wait until the end of all B jobs so option "Block until the triggered projects finish their builds" is selected (because it is really a diamond execution).

      This jobs configuration works fine but if you launch another A (in parallel) when it finish its first step and reach conditional step, it get stuck waiting until the end of all the jobs from first execution, once first A execution finished second execution continue executing its B jobs.

      This is a kind of interlocking process between executions.

          [JENKINS-13871] Using "Conditional build step" and "Parameterized build step" in same step is preventing parallel executions of same job

          Jacobo Jimenez created issue -
          Jacobo Jimenez made changes -
          Attachment New: QueueInterlockTest_main#config.xml [ 21884 ]
          Attachment New: QueueInterlockTest_subtask#config.xml [ 21885 ]
          Jacobo Jimenez made changes -
          Due Date Original: 2012-05-18
          Dominik Bartholdi made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 144339 ] New: JNJira + In-Review [ 191041 ]

            domi Dominik Bartholdi
            jacojm Jacobo Jimenez
            Votes:
            2 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: