-
Improvement
-
Resolution: Fixed
-
Major
Job-dsl plugin can not be configured to support multiple conditions in same flexible-publish instance only one condition can be configured.
This means that you can not take actions on both SUCCESS and FAILURE outcome from a jenkins job with the same flexible-publish instance, you need to use several instances and that does not work due to that the status parameter reflects the last step result that was executed and that can be a step in one of the flexible-publish plugins and that is not whats intended with the flexible-publish configuration.
The flexible-publish plugin can handle multiple conditions but job-dsl can not generate the necessary configurations.