If it isn't possible to pass an extra parameter/property from the Jenkins UI to
the script on job launch and initialization, then I should move onto a different
Hmm, JOB_NAME would be auto generated based on the branch name.
User input would make the job pause, so that doesn't seem a good option , either.
Then what else can be different to make the same job performing different
deployment? Branch name?
On Sun, Aug 26, 2018 at 7:15 AM Adam Hardy <
adam....@cyberspaceroad.com
<mailto:
adam....@cyberspaceroad.com>> wrote:
I can't check until I get in on Tuesday but this is a multi-branch pipeline
job.
Won't env.JOB_NAME either be the approximately the name of the repo so I know
which app it builds, or the name of the branch in that repo?
If it's the former, I guess I could suffix the name with the environment and
then parse it in the script, but that's not really something I'd like.
--
You received this message because you are subscribed to a topic in the
Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/jenkinsci-users/4jayfI5ijBQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
jenkinsci-use...@googlegroups.com