iDev
iDev

Reputation: 2433

How to install jenkins plugin using chef?

Currently jenkins does not have a proxy setup and I need to install a Jenkins plugin. I am looking for some pointers in doing so using Chef.

Upvotes: 0

Views: 154

Answers (1)

seshadri_c
seshadri_c

Reputation: 7350

Have a look at the jenkins cookbook from Chef supermarket.

Once you add the appropriate dependency in your cookbook. Then you can use this cookbook's jenkins_plugin resource to manage plugins. Example to install a plugin named myplugin:

jenkins_plugin 'myplugin' do
  version '1.0'
end

Upvotes: 1

Related Questions