last step in finally block incorrectly reported as failed

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

XMLWordPrintable

      Pipeline will incorrectly report that the last step in a finally block has failed if an exception is thrown in the try block. This may cause a developer unnessicary debugging time trying to identify why a step is failing. Eg.

      try {
          error "oops"
      } finally {
          echo "bar"
      }
      

      Results in the echo step being reported as failed.

            Assignee:
            Unassigned
            Reporter:
            Joshua Hoblitt
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: