Issue Type: Bug Bug
Affects Versions: current
Assignee: Unassigned
Components: promoted-builds
Created: 07/Feb/14 6:44 AM
Description:

I'm triggering a promotion from a nightly job.
I want the latest successful build of a different job to be promoted.
In this case, build 106 of the Server-build-develop job is being promoted:

Started by user XXX
Building on master in workspace /u0/jenkins/jobs/Server-nightly/workspace
Promoting Server-nightly #7 42570e81
Copied 598 artifacts from "Server-build-develop" build number 106
build hudson.plugins.copyartifact.CopyArtifact@11fb4e35 SUCCESS

However, the "copy artifacts", specified by "permalink" and "last successful build", and this destination:
/u0/releases/Server/develop/QA/${PROMOTED_NUMBER}

Evaluates ${PROMOTED_BUILD} to the build number of the Server-nightly, not the Server-build-develop (106).

I would think it should pull the PROMOTED_BUILD number for the build number of the job it's promoting, not the currently running job.

Project: Jenkins
Priority: Minor Minor
Reporter: Bruce Edge
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to