Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

jenkins_plugins (9) Versions 1.0.1

Installs/Configures jenkins_plugins

Berkshelf/Librarian
Policyfile
Knife
cookbook 'jenkins_plugins', '= 1.0.1'
cookbook 'jenkins_plugins', '= 1.0.1', :supermarket
knife cookbook site install jenkins_plugins
knife cookbook site download jenkins_plugins
README
Dependencies
Changelog
Quality

jenkins_plugins Cookbook

Build Status Cookbook Version GitHub license

This cookbook is designed to add an LWRPs around interacting with Jenkins Plugins.

Requirements

  • Chef 11 or higher
  • Ruby 1.9.3 or higher

Dependencies

  • jenkins
  • maven

Resources

All examples show default values

jenkins_plugins_workflow

jenkins_plugins_workflow 'my-first-workflow-job' do
  script 'hello-world.groovy' # Required
  description '' # Optional
  sandbox false # Optional
  version '1.8' # Optional
  action :create
end

jenkins_plugins_maven

jenkins_plugins_maven 'M3'
    install false
end

jenkins_plugins_git

jenkins_plugins_git 'git' do
    install true
    install_system false
    global_name '
    global_email '
    create_account false
    home 'git'
    version ''
    system_version ''
    configure_ssh false
    ssh_host ''
    ssh_hostname ''
    ssh_port 22
    ssh_key ''
    ssh_strict_host_checking true
end

jenkins_plugins_ssh

jenkins_plugins_ssh 'name_for_key' do
    host '' # Required
    hostname '' # Optional
    port 22 # Optional
    key '' # Required
    type 'rsa' # Optional - Can be ['rsa', 'dsa', 'ecdsa']
    strict_host_checking true # Optional
end

:add

This action will check for a key in the following format:

#{jenkins_home}/.ssh/id_#{key_type}_#{name}

If this key does not exist the LWRP will add it and add your ssh configuration values also.

If the ssh config file already exists it will append the new block to the end of the file.

:update

TODO

:remove

This action will check for a key in the following format:

#{jenkins_home}/.ssh/id_#{key_type}_#{name}

If this key exists the LWRP will remove it.

TODO: Remove block from ssh config file

Development

Please see the Contributing and Issue Reporting Guidelines.

License & Authors

Copyright (C) 2015 Monkey Little

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Dependent cookbooks

maven >= 0.0.0
jenkins >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

0.1.0

Initial release of jenkins_lwrp

Foodcritic Metric
            

1.0.1 failed this metric

FC017: LWRP does not notify when updated: /tmp/cook/dbebc8a86601cb254d6c6b2a/jenkins_plugins/providers/workflow.rb:6
FC017: LWRP does not notify when updated: /tmp/cook/dbebc8a86601cb254d6c6b2a/jenkins_plugins/providers/workflow.rb:10