Hello, I have a bash script which starts an EC2 instance and configures it. I run this script from Jenkins. Now I have another job which executes some code on a remote EC2 machine (git checkout, run some code). I would like to run the second job after the successful execution of the first one (create machine -> run code on the machine). The problem is that I need to pass the host name of the ec2 instance from the first job to the second, and I have no idea how to do it :) What would be the best approach to solve this problem with Jenkins (I assume using parametrized build in the second job, but I'm not sure how to "extract" the host name from the script and pass it to the next job).
Thanks Luciano -- 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.
