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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/d82a438f-68d4-4f8e-a30c-baf6cd103673%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to