Plugin Information |
---|
View build user vars on the plugin site for more information. |
Variables provided
This plugin defines the following environment variables to describe the user who started the build:
Variable | Description |
---|---|
BUILD_USER | Full name (first name + last name) |
BUILD_USER_FIRST_NAME | First name |
BUILD_USER_LAST_NAME | Last name |
BUILD_USER_ID | Jenkins user ID |
BUILD_USER_EMAIL | Email address |
Usage example
Select Set Jenkins user build variables and reference the variables during the build:
Pipeline Examples
Jenkins core compatibility
This plugin requires Jenkins 1.609+ (since 1.5 version of plugin).
Changelog
1.5 (Dec 11, 2015)
- - Workflow support
- Requires 1.609 or higher of Jenkins.
1.4 (Oct 10, 2014)
- - Support of BUILD_USER_EMAIL. Currently, only the explicit e-mail definition in user properties will work (see Mailer Plugin)
- - NPE on non-existent upstream builds (JENKINS-22974)
1.3 (Apr 12, 2014)
- User variables are not set to Maven3 build (JENKINS-19187)
1.2
* [JENKINS-21955] Set BUILD_USER to "SCMTrigger" if a build is run because of a source code change
1.1
* Now works with Jenkins starting from 1.396 version.
1.0
* Initial version
Attachments:
build-user-vars-plugin-sample-usage.png (image/png)
jenkins_small.jpg (image/jpeg)
jenkins_small.jpg (image/jpeg)
jenkins_small.jpg (image/jpeg)
jenkins_small.jpg (image/jpeg)