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

Allow stashing/unstashing empty sets

    XMLWordPrintable

Details

    Description

      The stash step fails if there's no files are selected to be stashed. Allowing that to optionally work would make it easier to make Jenkinsfile more generic, by stashing files that might not get generated on some repositories, instead of passing information around with fields, or catching failure when unstashing (which still leaves the corresponding log marked as Failure in the build).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dcsobral Daniel Sobral
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: