-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
Jenkins Ubuntu server 1.574
When using the trigger parameterized build in a jenkins job, we like to use a variable for the job name and then that variable is part of the current jobs parameters
So we build a job with paramters, pass it the name of the job to trigger inside the build section. This works great inside the build section, we can specify $JobName on the projects to build line
However if we try to do the same thing in the PostBuild section it does not resolve the variable names. We would like it to also do variable resolution in post build trigger parameterized job
You can see in the picture, this is what we would like to do, but it does not resolve the variable $JobName
$JobName is a build variable of this current job. If we put this block into the Build section it does work, only post build has the problem
- duplicates
-
JENKINS-11280 Downstream project name is not accepting env variable/build parameters
- Open