So here's some odd behavior: Parent job has parameter 'ReleaseNum' set. Child job is set to use '$ReleaseNum' as part of a new string parameter 'TargetDir' to create a directory path. There is an artifact copy step that uses $TargetDir to copy artifacts. There is also an execute shell step that uses $TargetDir.
In the copy artifacts step, $TargetDir never resolves $ReleaseNum and the files are copied to /home/whatever/$ReleaseNum. In the execute shell step, $TargetDir is correctly populated. I got around it by deleting the $TargetDir parameter and entering the same path in both jobs as mostly hardcoded plus the $ReleaseNum parameter. I am sad that it is not working as expected. Am I doing something wrong? On Wed, Apr 24, 2013 at 4:10 PM, Jared Griffith <jgriff...@picsauditing.com>wrote: > Not a problem! > > > On Wed, Apr 24, 2013 at 12:31 PM, Maureen Barger <mobar...@gmail.com>wrote: > >> I was just reading about that when your reply arrived, thank you! >> >> >> On Wed, Apr 24, 2013 at 1:41 PM, Jared Griffith < >> jgriff...@picsauditing.com> wrote: >> >>> Yeah, I asked this same question before. Install the Jenkins >>> Parameterized Trigger >>> plugin<http://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Trigger+Plugin>. >>> Then in the Post Build Actions section of the job, add the Trigger >>> Parameterized Build on Other Projects. There are several options you can >>> pass to the down stream jobs from there. >>> <http://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Trigger+Plugin> >>> >>> >>> On Wed, Apr 24, 2013 at 10:14 AM, Maureen Barger <mobar...@gmail.com>wrote: >>> >>>> Hi all - >>>> With a job that triggers many downstream jobs, is it possible to set a >>>> string parameter (ie a file path or a release number) in the first job >>>> and pass it on to all of the downstream jobs? >>>> >>>> -- >>>> 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 jenkinsci-users+unsubscr...@googlegroups.com. >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>>> >>>> >>> >>> >>> -- >>> >>> Jared Griffith >>> Linux Administrator, PICS Auditing, LLC >>> P: (949) 936-4574 >>> C: (909) 653-7814 >>> >>> <http://www.picsauditing.com> >>> >>> 17701 Cowan #140 | Irvine, CA | 92614 >>> >>> Join PICS on LinkedIn and Twitter! >>> >>> <https://twitter.com/PICSAuditingLLC> >>> >>> -- >>> 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 jenkinsci-users+unsubscr...@googlegroups.com. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> >> -- >> 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 jenkinsci-users+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > > > -- > > Jared Griffith > Linux Administrator, PICS Auditing, LLC > P: (949) 936-4574 > C: (909) 653-7814 > > <http://www.picsauditing.com> > > 17701 Cowan #140 | Irvine, CA | 92614 > > Join PICS on LinkedIn and Twitter! > > <https://twitter.com/PICSAuditingLLC> > > -- > 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 jenkinsci-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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 jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.