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

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

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

            People

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

              Dates

              Created:
              Updated:
              Resolved: