Managing our plugins

If you want to Puppetize each plugin, you can use the jenkins::plugin resource provided by this Jenkins module. You can find each plugin installed on your Jenkins master in the /var/lib/jenkins/plugins file, or in the Installed plugins tab of your Jenkins instance.

The resource syntax is as follows:

jenkins::plugin {'<plugin': version => 'version' } 

We're going to grab two key plugins for our CI/CD workflow in this section: Git and Pipeline. We can reach the plugin page by clicking on Manage Jenkins on the left-hand side of the screen, and then Manage Plugins near the bottom of the menu. There is an ever-growing amount of plugins for Jenkins, and we need to select the appropriate ones:

It can be difficult to locate a ...

Get Mastering Puppet 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.