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 in Puppet by Stella
97 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 by Sirajul
• 38,820 points

Related Questions In Puppet

0 votes
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 14 in Puppet by Varshi
26 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 in Puppet by Sirajul
• 38,820 points
36 views
0 votes
1 answer

Puppet and Jenkins integration

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

answered Aug 29 in Puppet by Sirajul
• 38,820 points
22 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
736 views
+13 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
216 views
0 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 in Puppet by Sirajul
• 38,820 points
18 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 in Puppet by Sirajul
• 38,820 points
17 views