ocf / ocflib

Python libraries for account and server management
https://pypi.python.org/pypi/ocflib
Other
15 stars 32 forks source link

Parallelize jessie and stretch builds #54

Closed jvperrin closed 7 years ago

jvperrin commented 7 years ago

Hopefully this works, I've seen things that say that there can't be multiple stages within a parallel block, so we'll have to see if that actually works or not.

jvperrin commented 7 years ago
ERROR: The ‘stage’ step must not be used inside a ‘parallel’ block.

Yup, well, guess it didn't work...

chriskuehl commented 7 years ago

It doesn't work with the "old-style" stage lines (where the contents of the stage aren't inside a block), but works if you use stage blocks. See e.g. ocfweb: https://github.com/ocf/ocfweb/blob/1655af5d6a73323e895eab44980e559e1f60fcf9/Jenkinsfile#L43-L66

jvperrin commented 7 years ago

Ah, I see, I looked at that before but failed to see the stage blocks within that, nice

jvperrin commented 7 years ago

Hmm, strange that it doesn't show either of the parallel steps: https://jenkins.ocf.berkeley.edu/job/ocflib/view/change-requests/job/PR-54/

jvperrin commented 7 years ago

Well, that seems to work ok, they do run in parallel, although the interface is still confusing (as it was before).