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

multi-job plugin - cant run parallel builds of same job (in same phase)

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • multijob-plugin
    • None

      setting in multi-job phase severl jobs should tun them in parallel, however if setting same job several times (different params / or not) it runs only one time.

          [JENKINS-15434] multi-job plugin - cant run parallel builds of same job (in same phase)

          Gordon Hopes added a comment -

          I also have this issue, however, I discovered that the job I'm running is being run the correct number of times but in parallel rather than sequentially.

          For my Multi-Job I have 4 phases; the first 3 phases are to run the same build job but with different prameters (solutions). The fourth phase is to run a deployment step.

          When I run the multi-job, the first 3 phases run simultaneously although it looks like just one run. Luckily I spotted that when first looking at the console it was run #18 but when returning after completion it was #20. When I manually look at each #18, #19 & #20, I can see they are in fact the the three phases.

          Jenkins: V1.491
          Multi-Job plugin: V1.7

          Gordon Hopes added a comment - I also have this issue, however, I discovered that the job I'm running is being run the correct number of times but in parallel rather than sequentially. For my Multi-Job I have 4 phases; the first 3 phases are to run the same build job but with different prameters (solutions). The fourth phase is to run a deployment step. When I run the multi-job, the first 3 phases run simultaneously although it looks like just one run. Luckily I spotted that when first looking at the console it was run #18 but when returning after completion it was #20. When I manually look at each #18, #19 & #20, I can see they are in fact the the three phases. Jenkins: V1.491 Multi-Job plugin: V1.7

          dudu gold added a comment -

          i dont understand, sorry.
          the phases should run sequently, and inside phase are running in parallel.
          how did you encounter phases run in parallel?

          dudu gold added a comment - i dont understand, sorry. the phases should run sequently, and inside phase are running in parallel. how did you encounter phases run in parallel?

          Gordon Hopes added a comment -

          As you can see, the same job is set to run in 3 seperate phases, however, when the Multi-job kicks off it runs the 3 phases in parallel. Once they complete, then the last phase is initiated.

          Gordon Hopes added a comment - As you can see, the same job is set to run in 3 seperate phases, however, when the Multi-job kicks off it runs the 3 phases in parallel. Once they complete, then the last phase is initiated.

          dudu gold added a comment -

          How did you configure it to do that ?
          can u show your configuration?

          dudu gold added a comment - How did you configure it to do that ? can u show your configuration?

          Gordon Hopes added a comment -

          Here is the Multi-job config and the build job config (minus some parameters - just some choices\strings)

          Gordon Hopes added a comment - Here is the Multi-job config and the build job config (minus some parameters - just some choices\strings)

          dudu gold added a comment -

          thank u very much for the trouble Gordon.
          my actual problem was when i ran multi jobs in same phase , and also several phases. the same phase should run my 3x (same job) as 3 build but it ran only one.

          actually it was fixed in last revision of the plugin.
          but still there is a problem with parallel runs.

          dudu gold added a comment - thank u very much for the trouble Gordon. my actual problem was when i ran multi jobs in same phase , and also several phases. the same phase should run my 3x (same job) as 3 build but it ran only one. actually it was fixed in last revision of the plugin. but still there is a problem with parallel runs.

          This was fixed since the version 1.13 of multijob

          Mathieu Cantin added a comment - This was fixed since the version 1.13 of multijob

            Unassigned Unassigned
            gold_dudu dudu gold
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: