I need to Download/Copy zip file from Nexus repository via jenkins pipeline


#1

I am new to this. I have a .NET project, GIT is being used as a SCM. We are keeping Third party binaries(in a zip file) inside Nexus.

Now, while building the project, via Jenkins, I need to copy and unzip binaries from Nexus to build machine via Jenkins Pipeline Script

How can I do this?


#2

All assets in Nexus can be downloaded via URL, so it would be a matter of using the right Jenkins plugin that supports pipeline.

Once the zip file is downloaded, Jenkins pipeline provides a way to unzip files here: