Issue Type: Bug Bug
Assignee: Unassigned
Components: promoted-builds
Created: 26/Mar/14 11:10 PM
Description:

If i define a new environment variable using custom formatted version number, i am unable to pass that to the downstream job.

Steps:
1. In promote build, select manual promotion, Point to job number 2, then in action, trigger parameterized build and define a predefined param NEW_BUILD_VERSION=$NEW_BUILD_VERSION

2. in build environment, create a formatted version number
variable NEW_BUILD_VERSION as ${BUILD_YEAR}${BUILD_MONTH, XX}${BUILD_DAY, XX}-${BUILDS_TODAY}

In downstream job i just have the shell script
echo ${NEW_BUILD_VERSION}

Observed behavior: in upstream job, i am able to see the new environment variable. In downstream job the script gets a blank version number

Desired behvaior: downstream job gets the build version number

What am i missing? is this a bug or do i need to do something more?

Due Date: 31/Mar/14 12:00 AM
Project: Jenkins
Priority: Major Major
Reporter: gaurav bhati
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/d/optout.

Reply via email to