Pass exit variables to down stream jobs.

31 views
Skip to first unread message

c.alex...@gmail.com

unread,
Feb 13, 2013, 5:33:04 PM2/13/13
to jenkins...@googlegroups.com
If this is a known item I apologize.
I am using the Jenkins system to build environments in AWS using Cloud Formation templates.
I need to know how to take the CF outputs and pass them to the next job.
Example:
Build a VPC, Subnet, etc.
Then pass the VPC, Subnet IDs in to the build frontend web server CF template so they are created in the new Subnet and VPC.

Thanks

William Soula

unread,
Feb 14, 2013, 11:19:26 AM2/14/13
to jenkins...@googlegroups.com
You could output the variables to a file and then use the trigger parameterized builds plugin to trigger downstream jobs and add a parameter from properties file section to pass the properties to the downstream builds:

https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Trigger+Plugin

Will
--
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-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

c.alex...@gmail.com

unread,
Feb 14, 2013, 12:03:41 PM2/14/13
to jenkins...@googlegroups.com, willia...@drillinginfo.com
Thank you,
I think I found an issue:
I have Jenkins ver. 1.501 which I just upgraded and I have updated my plugin list.
I do not see that plugin.

William Soula

unread,
Feb 14, 2013, 1:22:39 PM2/14/13
to jenkins...@googlegroups.com
It's actually called Parameterized Trigger Plugin not trigger parameterized builds.  If you can't see it then I don't know what to say, it should be there.  I already have it installed so I can't test if it is there or not.

Will

c.alex...@gmail.com

unread,
Feb 14, 2013, 1:40:12 PM2/14/13
to jenkins...@googlegroups.com, willia...@drillinginfo.com
Thanks and yep it is not in the plugin list...
So could some one send me a link to the ".hpi file to install a plugin from outside the central plugin repository"
I do not want to compile it from source.

c.alex...@gmail.com

unread,
Feb 14, 2013, 2:08:22 PM2/14/13
to jenkins...@googlegroups.com, willia...@drillinginfo.com
OK, I did find it, so thank you to all for the support.

c.alex...@gmail.com

unread,
Feb 14, 2013, 2:09:45 PM2/14/13
to jenkins...@googlegroups.com, willia...@drillinginfo.com
and to any one else in the plugins list it is:
Jenkins Parameterized Trigger plugin

Erick Dovale

unread,
May 17, 2013, 11:10:31 AM5/17/13
to jenkins...@googlegroups.com
Are you using the jenkins cloud formation plugin for this?

C. Alex Roeber

unread,
May 20, 2013, 11:00:28 AM5/20/13
to jenkins...@googlegroups.com
Yes and thank you.


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/7vI4bp7SBZw/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Later
Alex
Reply all
Reply to author
Forward
0 new messages