This Video Tutorial Explains about Jenkins Plugins. Learn about Installation Steps, Source Code Management (SCM), Analyzers, etc:
In the previous tutorial, we have learned about how to secure Jenkins, why security is needed, enabling security in Jenkins, what is authentication, authorization, how to create administrator and give privileges, and enabling project-based security matrix.
In this tutorial, we will learn about Jenkins Plugin, SCM, Build and Test, Analyzers, Jenkins for Teams, Installing Jenkins Plugins.
=> Check Out The Perfect Jenkins Training Guide Here
Table of Contents:
Video Tutorial – Jenkins Plugins
Here is a video tutorial:
Plugins enhance the features of Jenkins. There are hundreds of plugin available to integrate with Jenkins.
We can install, update, and also uninstall the plugin. There are various ways of installing Jenkins plugins. One way is through Manage Jenkins->Manage plugins->Available and the other one being to download the hpi file.
Plugins For Source Code Management
To find the list of plugins for Source Code Management, we need to follow the below steps:
a) Login to Jenkins.
b) Click on Manage Jenkins.
c) Click on Manage Plugins.
d) Type Git and GitHub in the search box. Jenkins will show SCM plugins required for integrating Git with Jenkins as shown in Figure 1.
Figure 1: List of plugins for git SCM
e) Also, type perforce in the search box to get the plugin for perforce SCM as shown in Figure 2.
Figure 2: List of plugins for Perforce SCM
f) Type SVN in the search box to get the list of plugins for SVN SCM as shown in Figure 3.
Figure 3: List of plugins for SVN
Build And Test Plugins
Follow the below steps to find the list of plugins for Build and Test:
a) Visit the URL >> Plugins for Jenkins
b) Type build and test as shown in Figure 4 and click on search.
c) This will give a list of plugins for build and test as shown in Figure 5.
Figure 5: Build and test plugins
Analyzers Plugins
a) Login to Jenkins.
b) Follow the path: Manage Jenkins->Manage plugins->Available.
c) Type Analyzers in the search box as shown in Figure 6 below.
Jenkins Plugins For Teams
Office 365 connector is generally used as a Jenkins plugin in this case.
To install this, follow the below steps:
a) Login to Jenkins.
b) Follow the path: Manage Jenkins ->Manage Plugins.
c) Type in Office 365 Connector as shown in Figure 7 below.
Figure 7: Office 365 Connector plugin
d) Check the plugin and click on the install.
Installing Jenkins Plugins
There are two ways of installing plugins:
First,
- To follow the path: Manage Jenkins->Manage Plugins->Available
- Type the desired plugin name, here we have used Office 365 Connector as an example, check that plugin, and click on ‘Install without restart’ button as shown in Figure 8.
Figure 8: To install the plugin
Second, using the Advanced section,
- First, download the desired plugin from the Jenkins website in .hpi format.
- Login to Jenkins. Follow the path: Manage Jenkins -> Manage Plugins ->Advanced tab
- Under Upload, choose the downloaded plugin as shown in Figure 9.
Figure 9: Advanced tab->Upload plugin-> Choose file
Conclusion
In this tutorial, we have learned about Jenkins Plugin, browse plugins related to SCM, build and test, analyzers, and team. Finally, we have learned how to install the plugins.
In the next tutorial, we will learn about distributed builds with Jenkins.
=> Check Here To See A-Z Of Jenkins Training Tutorials