Am Montag, 7. November 2016 11:38:41 UTC+1 schrieb Jesús Linares:
>
> Hi,
>
> I have a repository with a *jenkinsfile *and I need to execute it in 
> several linux distributions like Debian, Ubuntu and so on. From *Pipeline 
> *project I can't use several slaves (a slave for each linux distribution) 
> so I thought the proper project for my goal was *Multi-configuration* 
> project but it seems that it is impossible to select a *jenkinsfile *in 
> this kind of project. Is there other way to execute the jenkinsfile in 
> several linux distributions?.
>
> Thanks.
>
>
Hi,
you can use several slaves from Pipeline quite easy:

 parallel 'host1 {
    node('label1') { .... }
 }, 'host2' {
   node('label2') { .... }
} 

If you need to find more info, see 
https://github.com/jenkinsci/pipeline-examples/tree/master/pipeline-examples/parallel-multiple-nodes

Björn

-- 
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/085036d6-dd5c-4a1a-9f32-6b369969935f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to