Jenkins Basics--Installing Plugins

There are many ways to install plug-ins. This article will introduce the simplest one.

1. First of all, what is a plug-in? What does the plug-in do?

Plug-ins are Jenkins extended function modules, just like mods when playing games.

2. Why do we need to install additional plug-ins?

Although it is recommended to install some plug-ins during Jenkins configuration, there are still some practical plug-ins that have not been installed. The recommended plug-ins this time are:

Extended Choice Parameter (Jenkins pipeline parameterized build)

GitHub Authentication (GitHub Authentication Plugin)

Maven Integration (Maven integration plug-in)

jobConfigHistory (view the modification record of the job)

Deploy to container (plug-in required for automated deployment projects, deploy to container plug-in)

3. Operation steps

1. Under administrator rights, click System Settings and click Plug-in Management. Non-administrator accounts cannot see the system settings.

2. Click Avalible plugins, enter the plugin name: Extended Choice Parameter (you can directly copy the plugin name above), check the first one, and click "install without restart" (after the last plugin is installed, click "Download now and install after restart" , avoid repeated restarts)

3. Wait for the installation to complete, click Available plugins to continue installing the next plugin.

4. When the last plug-in is completed, click "Restart Jenkins after installation is complete (when idle)"

Note: When restarting Jenkins, be sure to do it when Jenkins is idle and not to affect the running job.

 

Guess you like

Origin blog.csdn.net/xch622114/article/details/131302095