Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-48668

Add unstash option to continue on failure

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The following applies only to the declarative pipeline.

      For the moment, there is only the name option for the unstash step.

      I would like to have an extra option for the unstash step like ignoreFailures=false|true, by default on false to be backward compatible.

      This extra option helps a lot when testing or using when conditionals on the pipeline stages, as there might be a stage before the unstash that actually does the stash, but the code in the step after the unstash can fallback to defaults if it cannot find the unstashed file.

      It would be okay if, for example, the whole build can be made unstable if the unstash fails.

      For the moment there is no way to continue it in the declarative pipeline (as the try/catch) is not supported.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              ader1990 Adrian Vladu
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: