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

Add option to list all stashes

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      In scripted pipelines, it will be verry welcome to have access to some kind of mapping/list (like env) for stashes.

      This is because I want to improve my dynamic stashing of files

       

      verry small example

       

      if(stash.debugbuild) {
      
          unstash "debugbuild"
      } else {
           unstash "releasebuild"
      }

       

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            roel0 roel postelmans
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: