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

multijob does not finish if phase contains same job multiple times

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

      I have configured a multijob with a single phase that runs to builds of the same job (with different parameters) in parallel. See the attached screenshot for the job configuration.

      When the two builds succeed, the multijob does not finish. It keep running forever, see the second screenshot.

          [JENKINS-25636] multijob does not finish if phase contains same job multiple times

          Sebastian Schuberth created issue -
          Sebastian Schuberth made changes -
          Link New: This issue is related to JENKINS-15434 [ JENKINS-15434 ]

          ojasvi Jagtap added a comment -

          I also facing the same issue. Multijob project is hanging at the end.
          If i am not wrong, this issue has got introduced in 1.15 release. It was not there for 1.13.

          ojasvi Jagtap added a comment - I also facing the same issue. Multijob project is hanging at the end. If i am not wrong, this issue has got introduced in 1.15 release. It was not there for 1.13.

          Which os and which version of Jenkins?

          Mathieu Cantin added a comment - Which os and which version of Jenkins?

          In my case it's Jenkins LTS 1.580.1 running on Windows Server 2012 R2 64-bit. My jobs are publicly visible at https://dscho.cloudapp.net/job/sdk-test-git-parallel/10/console and https://dscho.cloudapp.net/job/sdk-test-git-parallel/configure.

          Sebastian Schuberth added a comment - In my case it's Jenkins LTS 1.580.1 running on Windows Server 2012 R2 64-bit. My jobs are publicly visible at https://dscho.cloudapp.net/job/sdk-test-git-parallel/10/console and https://dscho.cloudapp.net/job/sdk-test-git-parallel/configure .

          ojasvi Jagtap added a comment -

          I am using Jenkins 1.585 which is running on linux rhel 6.5

          ojasvi Jagtap added a comment - I am using Jenkins 1.585 which is running on linux rhel 6.5

          Mathieu Cantin added a comment - - edited

          I find the bug, I work on a fix.

          Mathieu Cantin added a comment - - edited I find the bug, I work on a fix.

          To respond to the earlier version of your comment, I'm using the version of Java that ships with Jenkins for Windows:

          C:\Program Files (x86)\Jenkins\jre\bin>java -version
          java version "1.7.0_25"
          Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
          Java HotSpot(TM) Client VM (build 23.25-b01, mixed mode)

          Sebastian Schuberth added a comment - To respond to the earlier version of your comment, I'm using the version of Java that ships with Jenkins for Windows: C:\Program Files (x86)\Jenkins\jre\bin>java -version java version "1.7.0_25" Java(TM) SE Runtime Environment (build 1.7.0_25-b17) Java HotSpot(TM) Client VM (build 23.25-b01, mixed mode)

          Pull request is open. I am not sure of the fix, thank to confirm if it fix your problems.

          Mathieu Cantin added a comment - Pull request is open. I am not sure of the fix, thank to confirm if it fix your problems.

          For completeness, there's the link to the PR: https://github.com/jenkinsci/tikal-multijob-plugin/pull/58

          I'll see if I can build it myself and try it out.

          Sebastian Schuberth added a comment - For completeness, there's the link to the PR: https://github.com/jenkinsci/tikal-multijob-plugin/pull/58 I'll see if I can build it myself and try it out.

            mcantin Mathieu Cantin
            sschuberth Sebastian Schuberth
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: