To make this integration work you will need to have running instance of Jenkins and Artifactory.
Refer Artifactory Installation guide & Jenkins Installation guide
Check how to setup maven repositories
To resolve maven dependencies via Artifactory and publish build artifacts to Artifactory, resolver and deployer repos have be defined in configuration.yml file.
- Create pipeline job in Jenkins (New Item > Pipeline)
- In the project configuration, select "pipeline script from SCM" and fill out the necessary details.
- Add credential ID "ARTIFACTORY_CREDENTIALS" under global credentials and provide authentication details for your local artifactory instance
For more information on using Jfrog CLI, refer to the documentation.