How to Download and Upload Jenkins Plugin

Jenkins is a automation framework used to automate the normal day to day work that are repeated many times. After installing the Jenkins server there may be some of the plugins missing from the server. A Jenkins plugin is a functionality or a feature as per user need. For example generating the output in HTML Format instead of test format may be a requirement of user. In that case if the plugin is not available in the freshly installed Jenkins he need to download and upload the hpi file

Download Jenkins Plugin

Download the Jenkins plugin open the website https://plugins.jenkins.io/ here we will be able to browse almost all the required plugins available. Then search for HTML (Just an example to display the output of selenium results in HTML format). Click Archives from the Top right panel and click on latest top most version and save the hpi file
 
 
how to download and upload jenkins plugin


Uploading Jenkins Plugin

Login to your fresh installed Jenkins server using the appropriate access and click Manage Jenkins and then Manage Plugins and then Advanced Options
 

download upload and apply jenkins plugin manage plugin
 
 
 
 
 
In the Advanced Section find out the option to browse and upload the hpi file and upload the hpi file previously downloaded

download upload and apply jenkins plugin manage plugin
 
 
 
 
 
Once uploaded the plugin will be applied automatically new option will be presented to restart the Jenkins Server

How to Download and Upload Jenkins Plugin
If automated jobs are not running it is suggested to select the restart Jenkins option after the plugin is applied as some of the features / functionalities gets enabled after restarting the Jenkins server.

Post a Comment

0 Comments