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 hudson (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.
|| User that triggered this job. Only filled if the build was trigged by an user.
|| Full name of user that triggered this job.
|| Email address of user that triggered this job. If no user with email address was found, the admin email address stands here.
|| User that triggered this job. Only filled if the build was trigged by a user.
|| Number of upstream job that triggered this job. Only filled if the build was trigged by an upstream project.
|| Upstream project that triggered this job.
|| Remote host that triggered this job. Only filled if the build was trigged by a remote host.
|| Host note for remotely trigged job.
|| This is the current administrator email address.
|| Build id.
|| Build summary like "Executor #3 for master : executing MyJob #28"
|| CVS branch, if configured.
|| Running hudson 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)