Jenkins docs 
<https://jenkins.io/doc/pipeline/steps/workflow-basic-steps/#code-stash-code-stash-some-files-to-be-used-later-in-the-build>
 seem 
ambiguous about this:

Stashed files are not otherwise available and are generally discarded at 
the end of the build.

Soooo "generally" means what? They *should* get discarded by default? Do I 
need to do something to have them discarded?


Because my stashed files aren't getting discarded. I run this in my job:

stash name: "myZip", includes: "${differentEveryTime}.zip"


And every time the job runs it keeps adding the new zip file to the "myZip" 
stash.

I couldn't find anything in the docs about how to control this. I want 
myZip to clobber everything previously or start empty each job run.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/b879399c-2179-485c-bfdc-793769b70227%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to