• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • pipeline
    • None

      build should have an option to not wait for the downstream build to complete.

          [JENKINS-26123] Non-blocking build trigger step

          Jesse Glick created issue -
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-25851 [ JENKINS-25851 ]

          Jesse Glick added a comment -

          Integration with JENKINS-27127 could mean that after spawning a build of another job, you could do other work but be asychronously notified of its completion. This would be a bit tricky it requires that there be a return value for build (JENKINS-25851) even when in asynchronous mode; the value would have to somehow represent a Queue.Item, but be convertible to a Run if and when it is scheduled.

          (JENKINS-27096 at least means that we are tracking the queueId associated with a given Run, though there is currently no reverse index—meaning you would either have to search through builds of the target job for the one matching the known ID, or maintain your own QueueListener.onLeft.)

          Jesse Glick added a comment - Integration with JENKINS-27127 could mean that after spawning a build of another job, you could do other work but be asychronously notified of its completion. This would be a bit tricky it requires that there be a return value for build ( JENKINS-25851 ) even when in asynchronous mode; the value would have to somehow represent a Queue.Item , but be convertible to a Run if and when it is scheduled. ( JENKINS-27096 at least means that we are tracking the queueId associated with a given Run , though there is currently no reverse index—meaning you would either have to search through builds of the target job for the one matching the known ID, or maintain your own QueueListener.onLeft .)
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-27127 [ JENKINS-27127 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-27096 [ JENKINS-27096 ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "PR 63 (Web Link)" [ 12132 ]

          Code changed in jenkins
          User: Jesse Glick
          Path:
          CHANGES.md
          aggregator/src/test/java/org/jenkinsci/plugins/workflow/steps/build/BuildTriggerStepTest.java
          support/src/main/java/org/jenkinsci/plugins/workflow/support/steps/build/BuildTriggerStep.java
          support/src/main/java/org/jenkinsci/plugins/workflow/support/steps/build/BuildTriggerStepExecution.java
          support/src/main/resources/org/jenkinsci/plugins/workflow/support/steps/build/BuildTriggerStep/config.jelly
          http://jenkins-ci.org/commit/workflow-plugin/cb8b5cc327a0d23f9b9fadfe1e7422d910c6b126
          Log:
          [FIXED JENKINS-26123] BuildTriggerStep.wait

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: CHANGES.md aggregator/src/test/java/org/jenkinsci/plugins/workflow/steps/build/BuildTriggerStepTest.java support/src/main/java/org/jenkinsci/plugins/workflow/support/steps/build/BuildTriggerStep.java support/src/main/java/org/jenkinsci/plugins/workflow/support/steps/build/BuildTriggerStepExecution.java support/src/main/resources/org/jenkinsci/plugins/workflow/support/steps/build/BuildTriggerStep/config.jelly http://jenkins-ci.org/commit/workflow-plugin/cb8b5cc327a0d23f9b9fadfe1e7422d910c6b126 Log: [FIXED JENKINS-26123] BuildTriggerStep.wait
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]

          Code changed in jenkins
          User: Jesse Glick
          Path:
          CHANGES.md
          aggregator/src/test/java/org/jenkinsci/plugins/workflow/steps/build/BuildTriggerStepTest.java
          support/src/main/java/org/jenkinsci/plugins/workflow/support/steps/build/BuildTriggerStep.java
          support/src/main/java/org/jenkinsci/plugins/workflow/support/steps/build/BuildTriggerStepExecution.java
          support/src/main/resources/org/jenkinsci/plugins/workflow/support/steps/build/BuildTriggerStep/config.jelly
          http://jenkins-ci.org/commit/workflow-plugin/e850c8c6c97cf4a93cd7286c62ee2699c7d1626f
          Log:
          Merge pull request #63 from jglick/BuildTriggerStep.wait-JENKINS-26123

          JENKINS-26123 Non-blocking build trigger step

          Compare: https://github.com/jenkinsci/workflow-plugin/compare/1feac3ecba68...e850c8c6c97c

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: CHANGES.md aggregator/src/test/java/org/jenkinsci/plugins/workflow/steps/build/BuildTriggerStepTest.java support/src/main/java/org/jenkinsci/plugins/workflow/support/steps/build/BuildTriggerStep.java support/src/main/java/org/jenkinsci/plugins/workflow/support/steps/build/BuildTriggerStepExecution.java support/src/main/resources/org/jenkinsci/plugins/workflow/support/steps/build/BuildTriggerStep/config.jelly http://jenkins-ci.org/commit/workflow-plugin/e850c8c6c97cf4a93cd7286c62ee2699c7d1626f Log: Merge pull request #63 from jglick/BuildTriggerStep.wait- JENKINS-26123 JENKINS-26123 Non-blocking build trigger step Compare: https://github.com/jenkinsci/workflow-plugin/compare/1feac3ecba68...e850c8c6c97c

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: