Hi,

Thank you for your reply. Is there any way to share files between 
workspaces of different builds.The output dll's of Job 1 should be copied 
in 2 locations in Jenkins workspace of build 2.Is there a way to implement 
this via Jenkins pipeline.

Saisirisha

On Monday, July 1, 2019 at 7:29:43 PM UTC+8, Emilio Escobar Reyero wrote:
>
> 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] 
> <javascript:>> 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] <javascript:>.
>> 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] <javascript:>
> 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/e62bdfa9-ddf6-4f6b-af4f-3a251bb0196e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to