I am quite a new bee in jenkins. So - it can happen , that  I ask something 
that already was asked. While - I did not find anything on those or another 
forums or documentation.

I have 2 jobs on my jenkins server. 
One creates node (EC2 amazon Windows machine) with application server 
installed on it.
Second should create secondary fail-over instance, thay have to "know" host 
of primary host (and keep it in application database).
At batch script, that I have put in primary job definition I have run power 
shell job that prints public host name of primary host into stdout. So - 
when I look at job stdout - I can copy from there those public IP.
Than I edit job definition of secondary node and put there primary host 
ip...
So - I can run my tests half automatically , but it require manual 
involvement in secondary node job, and prevent automatic execution of tests.
Is there any way to store those primary host ip during run of primary job 
run(in some jenkins intenal variables , storage , whatever) of even let us 
say file/local db - at machine running jenkins server. So - that later 
secondary job whould be able to get it automatically without human 
involvement...

To get it clear. I can not run primary job in advance and keep it alive 
with constant IP. Since all those test is test of ongoing development 
builds - both instances have to be each time recreated from scratch, since 
they are each time installed from last development build.
Thanks in advance 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/7d579a1c-caf4-43f7-9424-cd9179bda308%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to