It would be nice to have the build variable so you can detect the status and do other things like setting environment variables.

          [JENKINS-24308] Expost build variable, the AbstractBuild

          Matt Ferrante added a comment -

          Matt Ferrante added a comment - https://github.com/jenkinsci/postbuildscript-plugin/pull/12

          Code changed in jenkins
          User: Daniel Heid
          Path:
          README.md
          src/main/java/org/jenkinsci/plugins/postbuildscript/Processor.java
          src/main/java/org/jenkinsci/plugins/postbuildscript/service/GroovyScriptExecutionCallable.java
          src/main/java/org/jenkinsci/plugins/postbuildscript/service/ScriptExecutor.java
          src/main/resources/org/jenkinsci/plugins/postbuildscript/Messages.properties
          src/main/resources/org/jenkinsci/plugins/postbuildscript/Messages_de.properties
          http://jenkins-ci.org/commit/postbuildscript-plugin/1e7f1b5f27b74db74a8180dd0c4aa74ca037ed81
          Log:
          JENKINS-24308 Expost build variable

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Heid Path: README.md src/main/java/org/jenkinsci/plugins/postbuildscript/Processor.java src/main/java/org/jenkinsci/plugins/postbuildscript/service/GroovyScriptExecutionCallable.java src/main/java/org/jenkinsci/plugins/postbuildscript/service/ScriptExecutor.java src/main/resources/org/jenkinsci/plugins/postbuildscript/Messages.properties src/main/resources/org/jenkinsci/plugins/postbuildscript/Messages_de.properties http://jenkins-ci.org/commit/postbuildscript-plugin/1e7f1b5f27b74db74a8180dd0c4aa74ca037ed81 Log: JENKINS-24308 Expost build variable

            dheid Daniel Heid
            ferrante Matt Ferrante
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: