Ability to stop an UNSTABLE declarative pipeline

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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?

            Assignee:
            Andrew Bayer
            Reporter:
            Jon B
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: