Hi,

Did you read https://jenkins.io/doc/pipeline/examples/#parallel-from-list ?


15.09.2017 13:33, Jes Struck пишет:
Hi all I'm trying to do something that might be  a stupid idea, but I can't get it to work as i exspect

I have a list of components that I whant to do something with, so in my Jenkins file i have created a list, and used each on that list to dynamicly create stages. But my problem is that we would actually like to have al this stuff done in *parallel* but each is I'm guessing secuential by nature. so does anybody have a good solution to this?


currently my code has the structure like
node('master){
  [a,b,c,...].each{
    stage(it){
      dir(it){
        //do something with the component's
      }
    }
  }
}





--
/Jes
--
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] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CACfmdz0Ox26Z4Dgw74wd5grF5k%3DKCU%2BLaVukup2mZ8VxBu7SUQ%40mail.gmail.com <https://groups.google.com/d/msgid/jenkinsci-users/CACfmdz0Ox26Z4Dgw74wd5grF5k%3DKCU%2BLaVukup2mZ8VxBu7SUQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
WBD,
Viacheslav Dubrovskyi

--
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/fbfdb1fb-a99d-9c9b-fc8a-982453538e4e%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to