n this recipe, we will copy artifact/file/package from one build to other. It helps in the deployment or copy operations. Even with Master/Agent architecture, we can copy artifacts effortlessly using the Copy Artifact Plugin.
Copying an artifact from another build job
Getting ready
You need to allow read access to anonymous users, as the Copyartifact plugin treats builds running as an anonymous. To allow read access to anonymous, do the following:
Go to Manage Jenkins | Global Security Configuration:
Click on Save.
How to do it...
- Go to Jenkins dashboard | Project |...