No, you cannot use stash/unstash for copying files from one job to another
but for sharing files between workspaces of the same build. Probably
https://jenkins.io/doc/pipeline/steps/copyartifact/ is what you are looking
for.

On Mon, Jul 1, 2019 at 10:37 AM sirisha sai <[email protected]>
wrote:

> Hi,
>
> Currently I am working on a .net project.I have a scenario,Job 1
> output(dll's) needs to be copied to Job 2 Jenkins workspace and then run
> the corresponding sln(solution) file of Job 2.In this case can I use stash
> and unstash to copy the files or should I use copy artifacts plugin.I am
> currently using jenkins pipeline script.Please suggest
> any references or docs.
>
>
> Thanks,
> Saisirisha
>
> --
> 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/948d608d-b9bb-4c54-b745-5c213c2984bf%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/948d608d-b9bb-4c54-b745-5c213c2984bf%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 

Emilio Escobar
Software Engineer

CloudBees, Inc.

[image: CloudBees-Logo.png] <http://www.cloudbees.com>


E: [email protected]
Skype: escoem

-- 
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/CAEViznLRdV39t70dhHWj4Cf9acM959Dv3E4U%2BnRFkh%2BoKt0xtA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to