How to Pass a string to jenkins from remote shell script (executed in unix server)

67 views
Skip to first unread message

Mohamed Amin Mengat

unread,
Dec 17, 2014, 9:42:17 AM12/17/14
to jenkin...@googlegroups.com
Hi Community

Im trying to create and clone several virtual machines via shell script. With Jenkins, i configure Job A to create and clone the machines, and Job B Start immediately the new virtual machine once its created.

My issue is : the IP adress of the cloned virtual machine is unknown and i have to get it After the job A is executed via the shell script and pass it to Job B,

Is there any Plugin or any way that i could do this with Jenkins:

Pass the IP Adress as a parameter in Jenkins Job.

Thanks In advance for your Help

Kind Regards

Mohamed Amin

Robert Sandell

unread,
Dec 18, 2014, 5:49:54 AM12/18/14
to jenkin...@googlegroups.com
Parameterized trigger plugin has ways of reading files in the workspace and convert their content to parameters. Env Inject has similar features.

/B

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/df1c5a11-0d2d-4321-a07e-3e2465f68677%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Robert Sandell
Software Engineer
CloudBees Inc.
Reply all
Reply to author
Forward
0 new messages