Add a build-step in the job, prior to the one doing the actual work
and use a copy (or ftp) command to get the files.
Downloading Nexus artifacts to Jenkins Job workspace
Question
I have an use case where I need to download selected jar files from nexus repository to a Jenkins job workspace and run a program over the downloaded jar files. (I Want to use the .class files in the jars)
Is there any Jenkins plugin available for this?
Solution
OTHER TIPS
You could try the groovy plugin and embed a script within your Jenkins job
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow