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

No way to get name and number of a triggered, blocking build

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Currently there's no way to refer to the build that was completed as a previous build step when using the 'blocking' build step.

        Attachments

          Activity

          Hide
          jorgenpt Jørgen Tjernø added a comment -
          Show
          jorgenpt Jørgen Tjernø added a comment - Potential fix in pull req here: https://github.com/jenkinsci/parameterized-trigger-plugin/pull/10
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Jørgen P. Tjernø
          Path:
          pom.xml
          src/main/java/hudson/plugins/parameterizedtrigger/BuildInfoExporterAction.java
          src/main/java/hudson/plugins/parameterizedtrigger/TriggerBuilder.java
          src/test/java/hudson/plugins/parameterizedtrigger/test/BuildInfoExporterTest.java
          http://jenkins-ci.org/commit/parameterized-trigger-plugin/43465945156c87c8cd0f418126d0dc49d8f174bb
          Log:
          JENKINS-11345 Export triggered job info.

          This exports TRIGGERED_JOB_NAME and TRIGGERED_BUILD_NUMBER after triggering a
          blocking build.

          Includes unit tests in BuildInfoExporterTest.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jørgen P. Tjernø Path: pom.xml src/main/java/hudson/plugins/parameterizedtrigger/BuildInfoExporterAction.java src/main/java/hudson/plugins/parameterizedtrigger/TriggerBuilder.java src/test/java/hudson/plugins/parameterizedtrigger/test/BuildInfoExporterTest.java http://jenkins-ci.org/commit/parameterized-trigger-plugin/43465945156c87c8cd0f418126d0dc49d8f174bb Log: JENKINS-11345 Export triggered job info. This exports TRIGGERED_JOB_NAME and TRIGGERED_BUILD_NUMBER after triggering a blocking build. Includes unit tests in BuildInfoExporterTest.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Andrew Bayer
          Path:
          pom.xml
          src/main/java/hudson/plugins/parameterizedtrigger/BuildInfoExporterAction.java
          src/main/java/hudson/plugins/parameterizedtrigger/TriggerBuilder.java
          src/test/java/hudson/plugins/parameterizedtrigger/test/BuildInfoExporterTest.java
          http://jenkins-ci.org/commit/parameterized-trigger-plugin/4500e4d79d56a0c1944488d8e667599a758c656c
          Log:
          Merge pull request #10 from jorgenpt/master

          [FIXED JENKINS-11345] Export triggered job info in environment variables.

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

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andrew Bayer Path: pom.xml src/main/java/hudson/plugins/parameterizedtrigger/BuildInfoExporterAction.java src/main/java/hudson/plugins/parameterizedtrigger/TriggerBuilder.java src/test/java/hudson/plugins/parameterizedtrigger/test/BuildInfoExporterTest.java http://jenkins-ci.org/commit/parameterized-trigger-plugin/4500e4d79d56a0c1944488d8e667599a758c656c Log: Merge pull request #10 from jorgenpt/master [FIXED JENKINS-11345] Export triggered job info in environment variables. Compare: https://github.com/jenkinsci/parameterized-trigger-plugin/compare/320f7f0...4500e4d
          Hide
          dogfood dogfood added a comment -

          Integrated in plugins_parameterized-trigger #27
          JENKINS-11345 Export triggered job info.

          jtjerno :
          Files :

          • pom.xml
          • src/test/java/hudson/plugins/parameterizedtrigger/test/BuildInfoExporterTest.java
          • src/main/java/hudson/plugins/parameterizedtrigger/TriggerBuilder.java
          • src/main/java/hudson/plugins/parameterizedtrigger/BuildInfoExporterAction.java
          Show
          dogfood dogfood added a comment - Integrated in plugins_parameterized-trigger #27 JENKINS-11345 Export triggered job info. jtjerno : Files : pom.xml src/test/java/hudson/plugins/parameterizedtrigger/test/BuildInfoExporterTest.java src/main/java/hudson/plugins/parameterizedtrigger/TriggerBuilder.java src/main/java/hudson/plugins/parameterizedtrigger/BuildInfoExporterAction.java

            People

            • Assignee:
              abayer Andrew Bayer
              Reporter:
              jorgenpt Jørgen Tjernø
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: