I am configuring jenkins to perform tests on our product.

I have a master and severall slaves.

Before performing the tests we have to checkout the code and building it. 
We do it through python scripts.
Our idea was to do this only on the fastest slave machine and then copy all 
the binaries and executable files (...) to the others slaves.
Then we also need to have all the script test files in each slave.

Question:
How to copy the binaries and executable files (...) after building the code 
to the others slaves without having to do it for each one? I mean is there 
a way to say "do it for every slave machine"?

Lets say that the slave where the code is build is named X, that we have 
others slaves named A, B and C and that we want to copy a folder named 
folder_to_copy.
What I am doing on X is:
xcopy C:\folder_to_copy \\A\c$\folder_to_copy /E /I /Y
xcopy C:\folder_to_copy \\B\c$\folder_to_copy /E /I /Y
xcopy C:\folder_to_copy \\C\c$\folder_to_copy /E /I /Y

Now, imagine that I have much more slaves. How can I do exactly the same 
thing but without the need to write a line for each machine?

By the way, if during the process some of them failed, can we ensure that 
the others end successfully?

Thanks!

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


Reply via email to