how can we use artifacts from the job running on the another jenkins machine ?

39 views
Skip to first unread message

Ganesh Kumbhar

unread,
May 11, 2016, 10:03:41 AM5/11/16
to Jenkins Users
Hello EveryOne,

I don't have much experience with Jenkins configurations but now I am using it more frequently for continues integration & builds.

I have one doubt like briefed in subject : 
Normally, we can use artifacts of the other job from the same machine as shown in simple scenario attachment.

But if I want to copy artifacts from some another Jenkins machine, then is it possible ?, if yes, how?


Thank You! 
SimpleScenario.JPG

Daniel Beck

unread,
May 11, 2016, 10:21:56 AM5/11/16
to jenkins...@googlegroups.com

> On 11.05.2016, at 16:03, Ganesh Kumbhar <gbkum...@gmail.com> wrote:
>
> But if I want to copy artifacts from some another Jenkins machine, then is it possible ?, if yes, how?

Not possible using Copy Artifact, but you could always download files from a Jenkins in a script using one or a few wget/curl/… calls.

Ganesh Kumbhar

unread,
May 12, 2016, 9:20:52 AM5/12/16
to jenkins...@googlegroups.com
Hello Daniel,
Thanks for your reply.

have got few doubts : 

1. If I'm not wrong these are Unix/Linux CLI's and my Jenkins is wjndows .. can I use the same here ? 
2. if possible can you pls share some example or some more details about it, like is it simple CLI that we can call through batch or need some extra installation or something like that. 

Thank You!


--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/gtwlTeotwlc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5E49F15D-954A-4F1B-BB0B-94C8F94F66B9%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.

Daniel Beck

unread,
May 12, 2016, 10:05:10 AM5/12/16
to jenkins...@googlegroups.com

> On 12.05.2016, at 15:20, Ganesh Kumbhar <gbkum...@gmail.com> wrote:
>
> 1. If I'm not wrong these are Unix/Linux CLI's and my Jenkins is wjndows .. can I use the same here ?

Just find a tool that does something similar on Windows. I think PowerShell allows doing this as well.

> 2. if possible can you pls share some example or some more details about it, like is it simple CLI that we can call through batch or need some extra installation or something like that.

It's really very basic, just look at the URLs of archived artifacts, or the URL of the 'download all as ZIP' link, and download that, possibly sending auth headers as needed to authenticate with Jenkins.

iosif neitzke

unread,
May 12, 2016, 10:10:07 AM5/12/16
to jenkins...@googlegroups.com
On Windows without Copy Artifact plugin or curl, we use
lwp-download,which is a wrapper tool around Perl, provided by
ActivePerl, to download artifacts from job to job. Powershell having
a similar option sounds familiar too.
> --
> 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/7700F39A-AAB2-4AB8-9775-125856B2C405%40beckweb.net.

Ganesh Kumbhar

unread,
May 12, 2016, 11:12:40 AM5/12/16
to jenkins...@googlegroups.com
Okayy .. I will try you suggestions

Thanks a lot Daniel & iosif .. Good day!

You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/gtwlTeotwlc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAGyo1oz23vpEmRL%2BJ8Hzv0svThFj%3Dkhv8i-Z_tTtQ4K8m3t4aw%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages