Select the specific build option and set the build number to be the
variable $PROMOTED_NUMBER.
This will get resolved when the build step runs so you can then get the
artifacts from the correct build that is being promoted.
Chris
On Friday, December 7, 2012 11:02:48 AM UTC, Masariello wrote:
>
Hi there
The Promoted Builds Plugin puts the number of the build being promoted in
an environment variable called PROMOTED_NUMBER
How can the Copy Artifacts Plugin use it in a promotion process?
I tried several combinations without success.
Thanks in advance!