Declarative's when block, IIUC.

(Note: more a thread for the users list if we don't head over implementing
something in a plugin or so).

2018-02-20 12:00 GMT+01:00 Nigel Magnay <[email protected]>:

> I have a project with a Jenkinsfile that changes a number of stages
> depending on whether it's a normal build, a nightly build, or a
> pull-request build.
>
> As such, it's quite difficult therefore to declare which stages can be run
> in parallel, as in some cases it's not clear there's anything 'parallel' to
> be done or - worse - there is work that could be going on in parallel that
> is stoppped because it's in a different 'parallel' block. I'm ending up
> hacking the Jenkinsfile 'parallel' declarations to try to get the maximum
> degree of parallelism (nee - shortest build time)
>
> What I really want to be able to do is say "here's a stage, and it can be
> run when <this condition> is satisfied, but get on with everything else
> until it's ready. I.E: a pause, asynchronous task.
>
> Is there any good idea for things like this?
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" 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-dev/CAPYP83QFFVG1VLe3cRi0g8jwycUOh
> WwC2Lo9ewSJwC8osW7org%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/CAPYP83QFFVG1VLe3cRi0g8jwycUOhWwC2Lo9ewSJwC8osW7org%40mail.gmail.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 Developers" 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-dev/CANWgJS7pmJWtJd9ojmDj0%2B3ShmPVtb0r1M_nuqTAcdRUTnG1ww%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to