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

start identical job with different parameters in parallel execution

    XMLWordPrintable

Details

    Description

      Have the option for a job to run several instances in parallel.
      The use case:
      We have a job that gets the branch name as an input and then it builds the project and run the test.
      If two or more developers want to build different branches the first one blocks the others. The build and test take a lot of time but with many nodes we can do several in parallel.
      There may be a problem with this option if the jobs use the same workspace, but on our setup the workspace is set by time and date with the branch name to prevent this problem.
      As this option has potential for destruction it should be under the advance options.

      Attachments

        Activity

          There is a checkbox "Execute concurrent builds if necessary" in job configuration page.
          I enable the checkbox and run jobs in parallel with different branches.

          ohtake_tomohiro OHTAKE Tomohiro added a comment - There is a checkbox "Execute concurrent builds if necessary" in job configuration page. I enable the checkbox and run jobs in parallel with different branches.

          Thanks, I missed that, this option is not available in the Matrix job, that is where I looked for it.

          ggggttgtg ggggttgtg ggggttgtg added a comment - Thanks, I missed that, this option is not available in the Matrix job, that is where I looked for it.

          People

            Unassigned Unassigned
            ggggttgtg ggggttgtg ggggttgtg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: