On 12-04-10 11:44 AM, Brian J. Murrell wrote: > Using the Promoted Builds Plugin, I'm choosing to execute another job as > an action of the promotion. How do I get information on the job and > build that's being promoted in the job steps of the job that the > promotion action starts?
Still wondering, but that's not the point of my followup here... > I've seen hints about a $PROMOTED_URL variable (i.e. TODO: Talk about > PROMOTED_URL in > https://wiki.jenkins-ci.org/display/JENKINS/Promoted+Builds+Plugin) but > that doesn't seem to be set in my promotion action job. That variable seems available to the job steps one writes directly in a promotion's own "Execute shell" action but doesn't seem to be given to any jobs that a promotion starts with the "Build other projects" actions. So is there really no way for a job to know that it's being executed as an action of a promotion of another job and which job it's being built for? Cheers, b.
signature.asc
Description: OpenPGP digital signature