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

MultiJob 1.11 phases broken when upgraded from 1.9

    • Icon: Bug Bug
    • Resolution: Postponed
    • Icon: Blocker Blocker
    • multijob-plugin
    • Windows 2008 R2 64 bit, Jenkins 1.532.1 LTS

      When there were 2 phases in multijob with only one job executed per phase then all the jobs are executed at once, and phases are ignored!

      The second braking change is failure of entire phase and multijob when one of the jobs fails during build! Upgrade should change this value to Never not Failure, because it changes flows after upgrade to 1.11.

          [JENKINS-21615] MultiJob 1.11 phases broken when upgraded from 1.9

          hagzag added a comment -

          Checking the issue - AFAIK it shouldn't, I will update ASAP

          hagzag added a comment - Checking the issue - AFAIK it shouldn't, I will update ASAP

          Great. Waiting for info.

          Ireneusz Makowski added a comment - Great. Waiting for info.

          Hi,
          First issue: please provide more info regarding the configuration of multijob project and sub jobs projects.
          Second: Stop phase execution on failure was the default behaviour in previous versions.
          Thanks.

          Alex Nickolaevsky added a comment - Hi, First issue: please provide more info regarding the configuration of multijob project and sub jobs projects. Second: Stop phase execution on failure was the default behaviour in previous versions. Thanks.

          Nicolas Morey added a comment -

          I updated from 1.4 to 1.11 and had the same kind of issue.
          The job in the phase are matrix build. I tried a small test case and I get this backtrace:
          java.lang.ClassCastException: hudson.matrix.MatrixBuild cannot be cast to hudson.model.Build
          at com.tikal.jenkins.plugins.multijob.MultiJobBuilder$SubJobWorker.run(MultiJobBuilder.java:199)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
          at java.lang.Thread.run(Thread.java:722)

          Nicolas Morey added a comment - I updated from 1.4 to 1.11 and had the same kind of issue. The job in the phase are matrix build. I tried a small test case and I get this backtrace: java.lang.ClassCastException: hudson.matrix.MatrixBuild cannot be cast to hudson.model.Build at com.tikal.jenkins.plugins.multijob.MultiJobBuilder$SubJobWorker.run(MultiJobBuilder.java:199) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722)

          Brantone added a comment -

          Update? 7 months on a blocker

          Brantone added a comment - Update? 7 months on a blocker

          Yoram Michaeli added a comment - - edited

          Can you send some details about your multi-job and the jobs which you activates in the phases?
          Also, can you send the console output of the multijob session?
          I've tried to reproduce the bug (the first reported with the 2 phases) and all looks as working OK.

          Yoram Michaeli added a comment - - edited Can you send some details about your multi-job and the jobs which you activates in the phases? Also, can you send the console output of the multijob session? I've tried to reproduce the bug (the first reported with the 2 phases) and all looks as working OK.

          Closing issue as part of tikal-multijob-plugin issues cleanup.
          If still relevant, please open a matching issue in https://github.com/jenkinsci/tikal-multijob-plugin/issues (you can refer to this issue in its description)

          Yoram Michaeli added a comment - Closing issue as part of tikal-multijob-plugin issues cleanup. If still relevant, please open a matching issue in https://github.com/jenkinsci/tikal-multijob-plugin/issues (you can refer to this issue in its description)

            Unassigned Unassigned
            imakowski Ireneusz Makowski
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: