Adds a build step that exports runtime parameters into a properties file (e.g who triggered the build, what is her email address...). This information can be read by other build steps.
To use it, edit the configuration of a particular job, go to "Build" and click "Add build step", in the list select "Export Job runtime parameters", this will create the files at the point in the build where this step is executed.
This plugin exports Jenkins (runtime) job parameters into a ".properties" file. So other build steps (e.g. ant scripts) can read those parameters and work with them. For example: send some information via email to the user who triggered a job.
The property file is named "hudsonBuild.properties" and will be created in the project workspace. This file contains the following informations:
Name of running job.
Number of running job.
Job runs on this host.
Job runs on this slave.
Job result til this build step.
Job started at this time.
Milliseconds the job is already running.
Human readable elapsed time.
CVS branch, if configured.
SVN revision, if configured.
GIT branch, if configured.
ID of user that triggered this job. Has value of "null" for anonymous user. Only filled if the build was triggered by an user.
User that triggered this job. Only filled if the build was triggered by an user.
Full name of user that triggered this job. Mostly identical with value of "build.user.name" (if ID is not null).
Email address of user that triggered this job. If no user with email address was found, the admin email address stands here.
Number of upstream job that triggered this job. Only filled if the build was triggered by an upstream project.
Upstream project that triggered this job.
Remote host that triggered this job. Only filled if the build was triggered by a remote host.
Host note for remotely triggered job.
This is the current administrator email address.
Build summary like "Executor #3 for master : executing MyJob #28"
Running Jenkins version.
Version 0.4 (27 Jan 2012)
- Now working with current Jenkins version again.
- Some more properties are exported.
Version 0.3.1 (22 Mar 2011)
- Rerelease 0.3 to properly set required core version.
Version 0.3 (31 Jan 2011)
- This is just a bugfix release that should work as described before.
Version 0.2 (29 Jan 2011)
- User triggered build now has correct user email address again
- Upstream and remote build causes also provide some informations
Version 0.1 (01 Dec 2009)
- Initial release