Issue Type: Improvement Improvement
Affects Versions: current
Assignee: Gregory Boissinot
Components: shared-objects
Created: 28/Feb/13 11:09 AM
Description:

I have some legacy builds which require different versions of maven and grails to be set on the PATH.

I have setup some profiles for each version of maven

PATH =  "MVN_221_DIR/bin:" + build.environment.PATH;
map.put("PATH", PATH);

and profiles to set the version of grails

PATH =  "GRAILS_136_DIR/bin:" + build.environment.PATH;
map.put("PATH", PATH);

What I would like is a final PATH which contains both changes.
"GRAILS_136_DIR/bin:MVN_221_DIR/bin:original_path"

Actual result is just:
"GRAILS_136_DIR/bin:original_path"

It looks like the results of the steps are not added until the very end of the process, so modifications and new env variables added by step 1 are not available to step 2.

Project: Jenkins
Priority: Major Major
Reporter: Geoff Cummings
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

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to