Dec. 16, 2010
10:24 p.m.
On 16/12/10 12:55 PM, Marcus Denker wrote:
Ok, I will do that. In addition, it would be nice if the zip would contain inside some version number or date or something.
There's a link "See the list of available environment variables" in the configuration of each Hudson job. Part of the list is: ==== The following variables are available to shell scripts BUILD_NUMBER- The current build number, such as "153" BUILD_ID - The current build id, such as "2005-08-22_23-59-59" (YYYY-MM-DD_hh-mm-ss) JOB_NAME - Name of the project of this build, such as "foo" BUILD_TAG - String of "hudson-${JOBNAME}-${BUILD_NUMBER}". Convenient to put into a resource file, a jar file, etc for easier identification. WORKSPACE - The absolute path of the workspace. ====