Picky success criteria in pipeline

17 views
Skip to first unread message

Tomasz Szandała

unread,
Feb 24, 2017, 2:21:09 AM2/24/17
to Jenkins Users
Greetings All,
I am trying to go from build flow to Pipeline(and Jenkins2.x), but I have encountered an issue:
I have complicated workflow, that should cause deploy. But deploy requirements are fluent. Let's say I have something like this:

I need all green ones to be requirements, but yellow ones to be perfomed, but not mandatory success full in order to start blue one.
I was thinking about: each job editting some kind of map ["jobA": "SUCCESS", "jobB": "FAILURE"] or in properties file. But how can I ensure concurrency?

Kind regards,
Tomasz

P.S.
Keep in mind that requirements can change, so try / catch are too static.
Auto Generated Inline Image 1

Baptiste Mathus

unread,
Mar 1, 2017, 3:44:47 AM3/1/17
to jenkins...@googlegroups.com
FWIW, you should really consider moving to Pipeline if you want to use something used by others where you have far bigger chance of feedback. Build Flow is deprecated.

My 2 cents


--
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 jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5964a845-594e-4cd0-8b88-fac2980186e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages