Re: Can we use and stash and unstash to copy artifacts from one job to another

2019-07-01 Thread sirisha sai
Hi, I opted using copy artifacts plugin,in this case can we copy artifacts from job 1 workspace to Job 2 workspace (2 locations). Thanks, Saisirisha On Monday, July 1, 2019 at 8:44:05 PM UTC+8, Emilio Escobar Reyero wrote: > > Hi, > > Job 1 might use >

Email-ext plugin request: Export "Requestor" to environment

2019-07-01 Thread Chris Williamson
Since “Requestor means the original requestor for rebuilds: If an e-mail is supposed to be sent to the requester, follow the build > triggering chain to find the root requester And we want to move Requestor to CC list and use BUILD_USER_ID in the TO field, we need access to the Requestor

Re: Can we use and stash and unstash to copy artifacts from one job to another

2019-07-01 Thread sirisha sai
Hi, I will go through the docs and give this a try.Thank you for the help.I will let you know the output once it is done. Saisirisha On Mon, 1 Jul 2019 at 8:43 PM, Emilio Escobar Reyero < eescobarrey...@cloudbees.com> wrote: > Hi, > > Job 1 might use >

Re: Can we use and stash and unstash to copy artifacts from one job to another

2019-07-01 Thread Emilio Escobar Reyero
Hi, Job 1 might use https://jenkins.io/doc/pipeline/steps/core/#-archiveartifacts-%20archive%20the%20artifacts to archive what you want to share. Job 2 might use https://jenkins.io/doc/pipeline/steps/copyartifact/ to grab the files from job1 Something like that: job1 archiveArtifacts '*.dll'

Re: Can we use and stash and unstash to copy artifacts from one job to another

2019-07-01 Thread sirisha sai
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

Re: Can we use and stash and unstash to copy artifacts from one job to another

2019-07-01 Thread Emilio Escobar Reyero
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 wrote: > Hi, > > Currently

Can we use and stash and unstash to copy artifacts from one job to another

2019-07-01 Thread sirisha sai
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