the var is available in the environment in a shell build step.

Started by user damien
[EnvInject] - Loading node environment variables.
Building on master in workspace /jenkins_data/jenkins/jobs/playground/jobs/test-user/workspace
Unrecognized macro 'BUILD_USER_ID' in '#${BUILD_NUMBER} - by ${BUILD_USER_ID}'
[workspace] $ /bin/sh -xe /tmp/hudson4283431871309031896.sh
+ env
BUILD_CAUSE_MANUALTRIGGER=true
JOB_NAME=playground/test-user
BUILD_USER_ID=damien
BUILD_DISPLAY_NAME=#2
BUILD_CAUSE=MANUALTRIGGER
BUILD_ID=2014-08-15_11-01-01
...
BUILD_USER_FIRST_NAME=damien
BUILD_USER=damien
Unrecognized macro 'BUILD_USER_ID' in '#${BUILD_NUMBER} - by ${BUILD_USER_ID}'
Finished: SUCCESS


other issues:

  • job doesn't fail even though macro expansion failed.
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to