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

When triggering multiple projects at once the log output only shows the first one after "Waiting for the completion of"

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Steps to reproduce:

      Set up one blocking trigger builder config in one trigger buildstep that triggers three projects ("project1, project2, project3").

      Expected console log output should be:

      Started by user SYSTEM
      Waiting for the completion of project1
      project1 #1 completed. Result was SUCCESS
      Waiting for the completion of project2
      project2 #1 completed. Result was SUCCESS
      Waiting for the completion of project3
      project3 #1 completed. Result was SUCCESS
      Finished: SUCCESS
      

      Actual output:

      Started by user SYSTEM
      Waiting for the completion of project1
      project1 #1 completed. Result was SUCCESS
      Waiting for the completion of project1
      project2 #1 completed. Result was SUCCESS
      Waiting for the completion of project1
      project3 #1 completed. Result was SUCCESS
      Finished: SUCCESS
      

      It might be better to show all the projects that are not yet completed, instead of just the next one.

      Example:

      Started by user SYSTEM
      Waiting for the completion of project1, project2, project3
      project1 #1 completed. Result was SUCCESS
      Waiting for the completion of project2, project3
      project2 #1 completed. Result was SUCCESS
      Waiting for the completion of project3
      project3 #1 completed. Result was SUCCESS
      Finished: SUCCESS
      

        Attachments

          Activity

          Show
          fredg Fred G added a comment - Pull-Request: https://github.com/jenkinsci/parameterized-trigger-plugin/pull/8
          Hide
          jorgenpt Jørgen Tjernø added a comment -
          Show
          jorgenpt Jørgen Tjernø added a comment - Pull-request for lower risk fix: https://github.com/jenkinsci/parameterized-trigger-plugin/pull/12
          Hide
          dogfood dogfood added a comment -

          Integrated in plugins_parameterized-trigger #26
          [FIXED JENKINS-11116] and [FIXED JENKINS-11117] Order of completed

          Fred G :
          Files :

          • src/test/java/hudson/plugins/parameterizedtrigger/test/TriggerBuilderTest.java
          • src/main/java/hudson/plugins/parameterizedtrigger/TriggerBuilder.java
          Show
          dogfood dogfood added a comment - Integrated in plugins_parameterized-trigger #26 [FIXED JENKINS-11116] and [FIXED JENKINS-11117] Order of completed Fred G : Files : src/test/java/hudson/plugins/parameterizedtrigger/test/TriggerBuilderTest.java src/main/java/hudson/plugins/parameterizedtrigger/TriggerBuilder.java
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Andrew Bayer
          Path:
          src/main/java/hudson/plugins/parameterizedtrigger/BlockableBuildTriggerConfig.java
          src/main/java/hudson/plugins/parameterizedtrigger/BuildTriggerConfig.java
          src/main/java/hudson/plugins/parameterizedtrigger/TriggerBuilder.java
          src/test/java/hudson/plugins/parameterizedtrigger/test/TriggerBuilderTest.java
          http://jenkins-ci.org/commit/parameterized-trigger-plugin/320f7f0b4d5c12f585b5aada39006c406e8b3ef7
          Log:
          Merge pull request #8 from fredg02/master

          [FIXED JENKINS-11116] and [FIXED JENKINS-11117]

          Compare: https://github.com/jenkinsci/parameterized-trigger-plugin/compare/c8a57a2...320f7f0

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andrew Bayer Path: src/main/java/hudson/plugins/parameterizedtrigger/BlockableBuildTriggerConfig.java src/main/java/hudson/plugins/parameterizedtrigger/BuildTriggerConfig.java src/main/java/hudson/plugins/parameterizedtrigger/TriggerBuilder.java src/test/java/hudson/plugins/parameterizedtrigger/test/TriggerBuilderTest.java http://jenkins-ci.org/commit/parameterized-trigger-plugin/320f7f0b4d5c12f585b5aada39006c406e8b3ef7 Log: Merge pull request #8 from fredg02/master [FIXED JENKINS-11116] and [FIXED JENKINS-11117] Compare: https://github.com/jenkinsci/parameterized-trigger-plugin/compare/c8a57a2...320f7f0
          Hide
          evernat evernat added a comment -

          it was merged, so resolving as fixed

          Show
          evernat evernat added a comment - it was merged, so resolving as fixed

            People

            • Assignee:
              abayer Andrew Bayer
              Reporter:
              fredg Fred G
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: