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:

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...