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

Builds are sequential when there is a "Run conditional step" build step, even though the project is configured for concurrent execution

    XMLWordPrintable

Details

    Description

      The description summary the problem. When there is "Run conditional step" then build on one node is waiting for the build on the other node complete, even though the project is configured for parallel builds.

      Attachments

        1. config.xml
          2 kB
          BalagiriPrasad S
        2. sleep.xml
          1 kB
          BalagiriPrasad S

        Activity

          I'm not able to reproduce this. I tested it with a simple job only holding conditional buildsteps (single and multiple) - (within the conditions a shell step with "sleep 20" is executed). As long as there are more executors available, multiple executions are trigged in parallel.
          The only reason for the described behaviour to happen I can think of, is when there is a build step within the condition that causes it. Please test which of the steps in your scenario this could cause and feel free to reopen this issue.

          imod Dominik Bartholdi added a comment - I'm not able to reproduce this. I tested it with a simple job only holding conditional buildsteps (single and multiple) - (within the conditions a shell step with "sleep 20" is executed). As long as there are more executors available, multiple executions are trigged in parallel. The only reason for the described behaviour to happen I can think of, is when there is a build step within the condition that causes it. Please test which of the steps in your scenario this could cause and feel free to reopen this issue.

          People

            imod Dominik Bartholdi
            sbalagiri BalagiriPrasad S
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: