Configure artifactory in Jenkins. Go to Manage Jenkins -> Configure Syatem.
Provide, URL and credentials for Artifactory.
Go to specific build Job in Jenkins. In the Build Environment section, select Resolve artifacts from Artifactory.
Click on Refresh and select resolution releases repository.
In a Post-build step, select Deploy artifacts to Artifactory. Click on Refresh button.
Select Target Release repository and Target Snapshot repository.
Click on Override default deployer credentials and give credentials of User we created here.
Set any deployment properties if you want.
Build the Job. Observe that all .jar files are stored in Artifactory.
Once all jar files are downloaded, job will be successful .
Verify lib-release directory from Artifactory. It will have all jar files required to build job.
Verify whether end product of Build job or WAR file is available in the Artifactory or not.