jenkinsci / jenkinsci/workflow-api-plugin
[JENKINS-47751] Add option to list all stashes
- Dominant language
- Java
- Stars
- 31
- Forks
- 80
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 1
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"
}
---
Originally reported by roel0, imported from: Add option to list all stashes
Raw content of original issue
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"
}
Contributor guide
Assessment
This issue has not been assessed yet.