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

Multijob : Incorrect status displayed for project when conditional execution is used

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Postponed
    • Icon: Major Major
    • multijob-plugin
    • None
    • Jenkins v2.7.4
      Multijob plugin v1.23

      Steps to reproduce:
      1. Create a free-style project called 'Test Child'
      2. Create a multjob project which accepts 1 boolean parameter. Create 1 phase in this project having 2 jobs in it - both are 'Test Child' jobs. Enable condition on both the jobs such that the first job should run if the boolean parameter is set to true & the second job should run if the boolean parameter is set to false.
      3. Run the multijob project and observe

      Actual Result:
      Console of multijob project states that only 1 build of the 'Test Child' project has been triggered (which is as expected), but, the project status dashboard on the multijob project shows that both the 'Test Child' jobs have been executed and the link to the console of these jobs points to the same build number - giving an incorrect status that 2 jobs have been run whereas only 1 has been run.

      Expected Result:
      The project status should indicate clearly that only 1 job has been executed. If 2 builds have been run for the same job via the multijob project, then their links to the console should be different.

      Setup at our end:
      We have 'Test Child' as a parameterized job and we wish to pass parameters to this job via the multijob project depending upon the parameters passed to the multijob project.

            Unassigned Unassigned
            pooja_thaker Pooja Thaker
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: