-
Improvement
-
Resolution: Not A Defect
-
Minor
-
None
I have a pipeline with with many steps.
If my unit tests fail, I want to mark the pipeline as UNSTABLE and then to stop the pipeline.
I am using Declarative style.
I cannot figure out how to stop the pipeline from continuing. If I use error(), the pipeline does stop but it also gets marked as failed.
Am I missing something? Can a pipeline be BOTH marked as UNSTABLE and also stop progress?