Ooh I understand now, thanks!
On Thu, Apr 25, 2013 at 1:43 PM, William Soula < [email protected]> wrote: > How is the child job being triggered? Have you added the current build > parameters to be passed to the downstream job? Or set up the predefined > parameters to pass $ReleaseNum? > > Will > > > On 04/25/2013 07:31 AM, Maureen Barger wrote: > > 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 < > [email protected]> wrote: > >> Not a problem! >> >> >> On Wed, Apr 24, 2013 at 12:31 PM, Maureen Barger <[email protected]>wrote: >> >>> I was just reading about that when your reply arrived, thank you! >>> >>> >>> On Wed, Apr 24, 2013 at 1:41 PM, Jared Griffith < >>> [email protected]> 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. >>>> >>>> >>>> On Wed, Apr 24, 2013 at 10:14 AM, Maureen Barger >>>> <[email protected]>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 [email protected]. >>>>> 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 [email protected]. >>>> 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 [email protected]. >>> 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 [email protected]. >> 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 [email protected]. > 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 [email protected]. > 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
