Lorelei McCollum
created JENKINS-24199
Post Build trigger parameterized job does not resolve variables used for job name
Issue Type:
Bug
Assignee:
huybrechts
Attachments:
triggerjob.png
Components:
parameterized-trigger
Created:
11/Aug/14 1:39 PM
Description:
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
Environment:
Jenkins Ubuntu server 1.574
Project:
Jenkins
Priority:
Minor
Reporter:
Lorelei McCollum
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/d/optout.