Uploading plugins in Jenkins
There will be instances where you have all the plugins downloaded from https://updates.jenkins-ci.org/download/plugins/, or you may your own plugin and you to utilize that in Jenkins. This recipe will explain how to upload these 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 a plugin and it from the Jenkins dashboard:
- Download the
copyartifact/
plugin (.hpi
) file:

- Download the latest version to your system:

- Go the Jenkins dashboard.
- Click on
Manage Jenkins
. - Click on
Manage plugins
. - Go to
Advanced
tab. Click onChoose File
in theUpload 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.