-
New Feature
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins 2.113
After creating a stash, and using it, would need to be able to delete it before the end of the pipeline to free some resources, typically before waiting for user input:
// code placeholder node { git checkout stash name: "source" parallel ( task1: { node { unstash name: "sources" sh "make DEBUG=1" } }, task2: { node { unstash name: "sources" sh "make DEBUG=0" } }) deleteStash name: "sources" // New feature: free disk space before the end of pipeline input message: "Go ?" }
A workaround I'm using is to create an empty stash with same name: