Query on Jenkins pipeline Stash/Unstash

27 views
Skip to first unread message

alok kumar

unread,
Oct 17, 2019, 10:24:02 PM10/17/19
to jenkins...@googlegroups.com, jenkin...@googlegroups.com
Hello everyone,
Can someone please let me know where do the files get stored when we stash them in Jenkins pipeline?

Thanks
Alok

Ivan Fernandez Calvo

unread,
Oct 18, 2019, 12:52:22 PM10/18/19
to Jenkins Users
Hi,

Stash/unstash is use to store temporal data that lives while the build is running, you can keep those stash after the build, but if you want to get some file after the build it is better to use the archive step, it put files on artifacts section

alok kumar

unread,
Oct 18, 2019, 2:06:09 PM10/18/19
to jenkins...@googlegroups.com
Thanks for the quick reply Ivan. I understand that it's temporal data..but where is it stored...on the master? What is the path?

Thanks
Alok

On Fri., Oct. 18, 2019, 12:52 Ivan Fernandez Calvo, <kuisat...@gmail.com> wrote:
Hi,

Stash/unstash is use to store temporal data that lives while the build is running, you can keep those stash after the build, but if you want to get some file after the build it is better to use the archive step, it put files on artifacts section

--
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/12d568be-643d-4536-9cac-65e28897a77d%40googlegroups.com.

Ivan Fernandez Calvo

unread,
Oct 18, 2019, 3:16:08 PM10/18/19
to Jenkins Users
IIRC they are stored on the build directory of the job
Reply all
Reply to author
Forward
0 new messages