There will be instances where you have all the plugins downloaded from https://updates.jenkins-ci.org/download/plugins/, or you may create your own plugin and you want to utilize that in Jenkins. This recipe will explain how to upload these plugins in Jenkins.
Uploading plugins in Jenkins
Getting ready
Download the required plugin https://updates.jenkins-ci.org/download/plugins/ or create a plugin using the Plugin tutorial, https://wiki.jenkins.io/display/JENKINS/Plugin+tutorial.
How to do it...
For this recipe, we will download a plugin and upload it from the Jenkins dashboard:
- Download the copyartifact/ plugin (.hpi) file:
- Download the latest version to your system:
- Go to the Jenkins dashboard.
- Click on Manage Jenkins.
- Click on Manage plugins.
- Go to the Advanced tab. Click on Choose File in the Upload Plugin section:
- Click on Upload.
How it works...
Once a plugin is uploaded successfully, we can utilize extensibility provided by the plugin that is uploaded into Jenkins.