Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to access Hudson job1 artifacts from another job2?

We have a production job and a nightly job for a project in Hudson. The production job needs to pull off some artifacts from a specific nightly build # (which is provided as parameter). Can anyone help us with a hint on how to achieve this?

like image 784
Abhimanyu Grover Avatar asked Mar 17 '11 09:03

Abhimanyu Grover


People also ask

What is artifact in Jenkins?

Artifacts can be used to represent data created as a side-effect of running a Jenkins build. Artifacts are files which are associated with a single build. A build can have any number of artifacts associated with it.


1 Answers

The Copy Artifact plugin seems to be capable of doing this.

Another approach could be to fetch the artifact via

http://server/jobs/job1/[build #]/artifacts/
like image 173
Anders Lindahl Avatar answered Sep 28 '22 18:09

Anders Lindahl