Chris:
Thanks for the reply. Not sure i fully understood the steps. Can you elaborate?
Where do i set a Predefined parameter and are you saying that once the variable
is predefined I can merely reference the variable using the ${MYBUILD_NUMBER}
in the downstream job?
On Wednesday, July 30,
Some of our jobs use the following script in a build step to set the build
number of the downstream jobs:
echo Keep build numbers in pipeline consistent **
C:\Program Files (x86)\Curl\curl.exe -d nextBuildNumber=%BUILD_NUMBER%
I use the
ParameterizedTriggerPluginhttps://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Trigger+Plugin
to pass various properties, including build name/number, to downstream jobs.
In the upstream job, I have a build step to write the properties to a
properties file in the workspace.
I use the build pipeline to manage a series of related jobs (downstream). I
want to be able to pass the build number from the upstream job to be used in
the downstream jobs as the build number there. How is this best accomplished.
Thanks, Eric
--
You received this message because you are
Hi,
I usually add a Predefined parameter something like
MYBUILD_NUMBER=${BUILD_NUMBER} and use that environment variable
(Parameter) in the next build step.
Chris
On 30 July 2014 15:13, Eric Wood eric.w...@rocketmail.com wrote:
I use the build pipeline to manage a series of related jobs