![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
current |
|
Assignee:
|
Jørgen Tjernø
|
|
Components:
|
environment-script |
|
Created:
|
02/Aug/13 8:39 PM
|
|
Description:
|
If I create a regular freestyle job and use this plugin, I can set an env var and access it in a post-build step (for example, with the parameterized trigger plugin). But if I use it in a matrix job, the variable is visible in build steps, but in post-build it is not.
Repro steps:
1. Create a new matrix job
2. Use 'Generate environment variables from script' and set e.g. TEST=foo
3. Add a shell script build step and echo $TEST
4. Add a 'Trigger parameterized build' post-build step, choose another test job which is parameterized, use 'Predefined parameters' and pass something like PARAMETER=$TEST
In the downstream job, parameter will be set to the literal string $TEST. If the upstream job is just a regular freestyle project, when the downstream job triggers the parameter will actually be set to 'foo.'
|
|
Environment:
|
Linux
|
|
Project:
|
Jenkins
|
|
Priority:
|
Major
|
|
Reporter:
|
owenmehegan
|
|
|
|
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.