Getting ready

In this recipe, https://bintray.com/jfrog/artifactory/jfrog-artifactory-oss-zip/4.15.0 is used for Artifactory.

To start Artifactory, go to artifactory-oss-4.15.0 | bin and execute artifactory.bat. Use a .sh script to start Artifactory if the operating system is Linux-based.

Go to your browser and visit IP_ADDRESS:8081 to visit Artifactory in the browser:

Create a Local repository to store package files created by the Jenkins project:

Click on New:

Select Maven as a Project Type:

Give a Repository Key * and click on Save and ...

Get Jenkins 2.x Continuous Integration Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.