I have a job which I want to run against promoted builds only, so I select the required build using Promoted Build Parameter and assign a variable name (e.g. PromotedBuild), which I believe gives me access to the promoted build’s url. I then want to manipulate the url within Build Environment/Evaluated Groovy script to extract the upstream build name and job number, but it doesn’t resolve the variable. If I hardcode the url then everything else works fine.
(I’m running Jenkins 1.580.2 with Promoted Builds Plugin v 2.24.1 (I tried 2.25 but it crashed my install) and Environment Injector Plugin 1.91.1) Thanks, Steve -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1e5b5390-b662-4978-b140-17db5369e350%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
