Tim Brown edited a comment on New Feature JENKINS-22384

Added this code to the master branch in my fork:

I have added all of the below EnvVars (they all get added in one method, so it should be easy to extend/change in the future):

  • LAST_TRIGGERED_JOB_NAME="Last project started"
  • TRIGGERED_BUILD_NUMBER_<project name>="Last build number triggered"
  • TRIGGERED_JOB_NAMES="Comma separated list of all triggered projects"
  • TRIGGERED_BUILD_NUMBERS_<project name>="Comma separated list of build numbers triggered"
  • TRIGGERED_BUILD_RESULT_<project name>="Last triggered build result of project"
  • TRIGGERED_BUILD_RESULT_<project name>RUN<build number>="Result of triggered build for build number" <-- I have implemented this one has underscore near the run, e.g.: TRIGGERED_BUILD_RESULT_My_Project_RUN_12 instead of: TRIGGERED_BUILD_RESULT_My_ProjectRUN12. According to the Parameterized Build plug-in documentation this is wrong, but I think this is easier to use. Can change be changed easily if required.
  • TRIGGERED_BUILD_RUN_COUNT_project name>="Number of builds triggered for the project"
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to