Build User Vars Plugin

Skip to end of metadata
Go to start of metadata

Plugin Information

Plugin ID build-user-vars-plugin Changes In Latest Release
Since Latest Release
Latest Release
Latest Release Date
Required Core
Dependencies
1.4 (archives)
Oct 10, 2014
1.450
Source Code
Issue Tracking
Pull Requests
Maintainer(s)
GitHub
Open Issues
Pull Requests
Gavriil Konovalenko (id: gkonovalenko)
Usage Installations 2014-Jun 2381
2014-Jul 2510
2014-Aug 2649
2014-Sep 2800
2014-Oct 2932
2014-Nov 3034
2014-Dec 3114
2015-Jan 3293
2015-Feb 3492
2015-Mar 3819
2015-Apr 3959
2015-May 4047

This plugin provides a set of environment variables that describe the user who started the build.

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:

Jenkins core compatibility

This plugin requires Jenkins 1.396+ (since 1.1 version of plugin).

Changelog

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 (issue #22974)

1.3 (Apr 12, 2014)

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

Labels

Edit
plugin-buildwrapper plugin-buildwrapper Delete
plugins plugins Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Add Comment