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.