Hi, Are your test hosts actual Slave Nodes in the Jenkins sense? If they are, you might want to consider using a Multi-Configuration (“Matrix”) Job. Then you could use the Node Names/Labels of your 5 hosts as an axis in the Configuration Matrix. The configurations will be run in parallel by default, and the status consoles and results will all be independently available.
Works for me. Good Luck! -- jim Von: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] Im Auftrag von Vijay Hiremath Gesendet: Dienstag, 7. August 2018 08:43 An: jenkinsci-users@googlegroups.com Betreff: Re: Jenkins: How to run test on multiple hosts in parallel? Thank you for the response. Unfortunately build is parameterized and each slave connected to Jenkins host have different parameters. Hence, cannot use pssh On Mon, Aug 6, 2018 at 10:20 PM, <sujay...@gmail.com<mailto:sujay...@gmail.com>> wrote: If your nodes are on linux, try installing pssh on the server 1. Install pssh yum install python-pip pip install pssh 2. create a host file 'pssh-host' with the number of hosts along with IP address and port number that you need to connect to remote systems using pssh. 3. Execute command using pssh from Jenkins Build > Execute shell: e.g pssh -h pssh-hosts -l root -A echo "Test" On Friday, August 3, 2018 at 5:49:24 PM UTC+5:30, Vijay Hiremath wrote: Hi All, How to run test on multiple hosts in parallel? Below is the requirement. 1. I have a Jenkins job A. 2. 5 hosts are connected to A. 3. Test X need to be run on all 5 hosts. Also need to see the status of test on an independent console. 4. Result form the hosts need to be independently published 5. Currently test X is run on only one host and rest 4 hosts tests are in Queue. I used "Execute concurrent builds if necessary" but, it just divides same test on 5 hosts so it does not do what I intended. What is the workaround here? Regards Vijay -- 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<mailto:jenkinsci-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d82a438f-68d4-4f8e-a30c-baf6cd103673%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/d82a438f-68d4-4f8e-a30c-baf6cd103673%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- 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<mailto:jenkinsci-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAL6S71G1kDF4YYCFz9LRndL1VfCr%2BJtYRZtg-j%3DS%3D%3D0s0NoxRA%40mail.gmail.com<https://groups.google.com/d/msgid/jenkinsci-users/CAL6S71G1kDF4YYCFz9LRndL1VfCr%2BJtYRZtg-j%3DS%3D%3D0s0NoxRA%40mail.gmail.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. ________________________________ RAYLASE GmbH Argelsrieder Feld 2+4 82234 Wessling Germany Tel.: +49-(0)8153/88 98-0 Fax: +49-(0)8153/88 98-10 http://www.raylase.de District Court Munich, HRB 234738 Management: Dr. Philipp Schön (CEO), Berthold Dambacher (CTO) Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. -- 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/25599d86938447c7b0117fbabc212fb2%40raylase.de. For more options, visit https://groups.google.com/d/optout.