I am trying out the Declarative Pipeline 
<https://jenkins.io/blog/2016/12/19/declarative-pipeline-beta/> and noticed 
some odd behavior in reporting. In the current Scripted Pipeline behavior 
when a stage fails the pipeline stops and reports as failed, however, in 
Declarative Pipelines the stages that don't run any steps, either by the 
'when' block expression being false or previous stage failing/aborting, 
report the following: start stage -> end stage -> reports the stage as 
success -> ... -> reports the overall build as a failure.

Example:



Is this a design decision and if so can the stages be instead reported as 
"not executed" instead of "success"?


-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/bd5fa631-5e70-440d-a2e3-6d9dd2e184da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to