How to set Artifactory as a mirror for Jenkins Plugins (jenkins.io)
Plugins are the primary means of enhancing the functionality of a Jenkins environment to suit an organization or a user-specific needs.
Jenkins Plugins are commonly used and can be mirrored into your Artifactory server, thus allowing you to enjoy and leverage all of JFrog and Artifactory's features.
1. Create a Generic remote repository
2. Set the URL to: http://mirrors.jenkins.io/plugins
3. Use the cURL command to download and cache plugins.
For example, to download the latest Artifactory plugin, you can use the following command:
curl -u <USERNAME>:<PASSWORD> “http://localhost:8082/artifactory/jenkins-remote/artifactory/latest/artifactoy.hpi”