I need to download using Jenkins cli or Jenkins api or any other rest API. I need to download artifact to local machine. How is this possible can any one explain
Asked
Active
Viewed 363 times
-1
-
Please elaborate. What artifacts? What have you tried so far? – ycr Aug 25 '22 at 23:58
-
Jenkins is not an artifact repository/manager. – Ian W Aug 26 '22 at 02:22
1 Answers
0
if you are looking to download the artifact from a particular job at your local system you can use curl or wget command to download it.
eg. curl -u Jenkins_User:Jenkins_Password https://jenkinsurl/artifactpath/file.zip --output "localfilename.zip"

Virendra Kumar
- 26
- 2