Issue Type: Improvement Improvement
Assignee: Gregory Boissinot
Components: envinject
Created: 31/Jul/12 8:28 AM
Description:

It would be nice if EnvInject could run after echoing 'building on' message. This way two important information ('build started by' and 'building on' messages) would be side by side. Environment cleanup plugin acts after this message but before scm as well, so it should be possible.

Current output

Started by user <user>
[EnvInject] - Loading node environment variables.
[EnvInject] - Preparing an environment for the build.
[EnvInject] - Keeping Jenkins system variables.
[EnvInject] - Keeping Jenkins build variables.
[EnvInject] - Adding build parameters as variables.
[EnvInject] - Executing and processing the following script content:
cleartool mount \<vobtag> || exit 0

[Jenkins] $ cmd /c call D:\Profiles\<user>\LOCALS~1\Temp\hudson2922408064470202936.bat

D:\Jenkins>cleartool mount \<vobtag> || exit 0
\<vobtag> is already mounted.
[EnvInject] - Script executed successfully.
[EnvInject] - Injecting contributions.
Building remotely on <node> in workspace <workspace>

Deleting project workspace... done

[<projectname>] $ cleartool lsview <viewname>
...

Expected output

Started by user <user>
Building remotely on <node> in workspace <workspace>
[EnvInject] - Loading node environment variables.
[EnvInject] - Preparing an environment for the build.
[EnvInject] - Keeping Jenkins system variables.
[EnvInject] - Keeping Jenkins build variables.
[EnvInject] - Adding build parameters as variables.
[EnvInject] - Executing and processing the following script content:
cleartool mount \<vobtag> || exit 0

[Jenkins] $ cmd /c call D:\Profiles\<user>\LOCALS~1\Temp\hudson2922408064470202936.bat

D:\Jenkins>cleartool mount \<vobtag> || exit 0
\<vobtag> is already mounted.
[EnvInject] - Script executed successfully.
[EnvInject] - Injecting contributions.

Deleting project workspace... done

[<projectname>] $ cleartool lsview <viewname>
...

Environment: Jenkins 1.475 on RHEL5 x86_64, envinject 1.63
Project: Jenkins
Priority: Minor Minor
Reporter: Krzysztof Malinowski
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to