Puppet and Jenkins Installing Jenkins plugins and dependencies

0 votes
I am using the jenkins puppet module from the puppet module. one thing that i am concerned about is the fact that how are the jenkins plugins installed? Is it done automatically or should i configure it exclusively?
Aug 28, 2019 in Puppet by Stella
1,855 views

1 answer to this question.

0 votes

The Jenkins puppet module defines the jenkins::plugin resource which will download and install the plugin manually.

If you need to install a specific version, simply specify that as a string, i.e.:

jenkins::plugin { 'git':
  version => '1.1.11',
}

Direct URL:

Direct URL from which to download plugin without modification. This is particularly useful for development and testing of plugins which may not be hosted in the typical Jenkins' plugin directory structure.

jenkins::plugin { 'myplugin':
  source => 'https://example.org/myplugin.hpi',
}

Note that that when source is specified, the version and plugin_url parameters will have no effect on the plugin retrieval URL.

Plugin dependencies:

Dependencies are not automatically installed. 

You need to manually determine the plugin dependencies and include those as well. The Jenkins wiki is a good place to do this. 

For example: The Git plugin page is at https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin.

answered Aug 28, 2019 by Sirajul
• 59,230 points

Related Questions In Puppet

–1 vote
1 answer

Errors and warnings while installing graphite server using puppet.

Hey @Harish, If you puppet modules is /etc/puppet/modules, ...READ MORE

answered Feb 15, 2019 in Puppet by Varshi
744 views
0 votes
1 answer

Puppet and Jenkins : Adding Jenkins slaves using puppet code.

You can automatically add slaves to jenkins, ...READ MORE

answered Aug 28, 2019 in Puppet by Sirajul
• 59,230 points
1,353 views
0 votes
1 answer

Puppet and Jenkins integration

Rake is sophisticated test runner written in ...READ MORE

answered Aug 29, 2019 in Puppet by Sirajul
• 59,230 points
570 views
+1 vote
1 answer

Steps to trigger puppet agent from jenkins

Heyy @Hannah,  First, you need to create Jenkins slave, ...READ MORE

answered Dec 16, 2018 in Puppet by Kiyara
3,969 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,024 views
+2 votes
1 answer
0 votes
1 answer

Puppet and Jenkins: How can I manage Jenkins job using Puppet DSL?

Managing Jenkins jobs: Build jobs can be managed ...READ MORE

answered Aug 28, 2019 in Puppet by Sirajul
• 59,230 points
765 views
0 votes
1 answer

Puppet and Jenkins: How does Puppet manage Jenkins security?

Jenkins security is not managed by puppet ...READ MORE

answered Aug 28, 2019 in Puppet by Sirajul
• 59,230 points
707 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP