Artifactory is a repository manager that allows you to store and retrieve artifacts, such as dependencies or package files. It is like a local repository in the organization.
Integrating Jenkins with Artifactory
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:
![](https://static.packt-cdn.com/products/9781788297943/graphics/assets/589254e3-6cec-41f7-82bd-24848b102899.png)
Create a Local repository to store package files created by the Jenkins project:
![](https://static.packt-cdn.com/products/9781788297943/graphics/assets/638e5b36-577c-4af6-9e71-588c9a1d1665.png)
Click on New:
![](https://static.packt-cdn.com/products/9781788297943/graphics/assets/f7cb12eb-be37-41b2-b28c-a0c72bd90949.png)
Select Maven as a Project Type:
![](https://static.packt-cdn.com/products/9781788297943/graphics/assets/192ff174-21f5-4e18-9cfa-a349b44e75ea.png)
Give a Repository...