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

Add option to list all stashes

XMLWordPrintable

      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"
      }

       

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

              Created:
              Updated: