v2.0.0
This is a major refactor of the Jenkins cookbook and is not backwards-compatible.
- Updated to the latest gems
- Added a full Test Kitchen integration suite for every resource
- Added Rubocop + Foodcritic + Travis
- Updated contributing guidelines
- Updated issue reporting guidelines
- Refactored README format - attribute documentation is now inline. Please see the specific attribute file for documentation, rather than a verbose README
- Added a Rakefile for encapsulating commands
- Move testing instructions into contribution guidelines
- Remove old TODO file
- Refactor attributes into semantic groupings and namespaces
jenkins.cli
has been removedjenkins.java_home
has been changed tojenkins.java
and accepts the full path to the java binary, not the JAVA_HOMEjenkins.iptables_allow
has been removedjenkins.mirror
->jenkins.master.mirror
jenkins.executor
createdjenkins.executor.timeout
createdjenkins.executor.private_key
createdjenkins.executor.proxy
createdjenkins.master
created and only refers to the Jenkins master installationjenkins.master.source
created to refer to the full URL of the war downloadjenkins.master.jvm_options
createdjenkins.master.jenkins_args
addedjenkins.master.url
->jenkins.master.endpoint
jenkins.master.log_directory
createdjenkins.node
attributes have all been removedjenkins.server
attributes have all been removed
- Removed Chef MiniTest handler
- Created a new executor class for running commands through the CLI
- Create
jenkins_command
resource for executing arbitrary commands against the Jenkins CLI - Create
jenkins_script
resource for executing arbitrary groovy scripts agains the Jenkins CLI - Create
jenkins_credentials
resource for creating and managing Jenkins credentials - Refactor
jenkins_job
resource for creating and managing jobs - Refactor
jenkins_plugin
resource for creating and managing plugins - Create
jenkins_slave
(and sub-resources) for managing Jenkins slaves (formerly called "nodes") - Add
jenkins_user
resource for creating and managing users - Remove dependencies on java, apache2, nginx, and iptables
- Remove
jenkins_cli
resource (it's been replaced byjenkins_command
) - Remove
jenkins_execute
resource (it's been replaced byjenkins_command
) - Remove the pesky "block_until_operational" Ruby block
- Remove
jenkins_node
resource (it's now a series ofjenkins_slave
resources) - Don't pin plugins (users should explictly provide a version to ensure pinning)
- Upgrade apt and yum dependencies
- Allow full customization of the war file download URL
- Remove apache2 proxy, nginx proxy, and iptables support; they are outside the scope of this cookbook and add unnecessary complication
- Default recipe has been removed
- Iptables recipe has been removed
- Added a very basic Java recipe with caveats
- Added a Jenkins master recipe (formerly called "server")
- Removed "node" recipes - they have all been replaced by HWRPs
- Removed proxy recipes
- Updated Debian and RedHat templates to the latest version
- Added the ability to add authentication
- Added custom ServerSpec matchers
- "node" renamed to "slave"
- "server" renamed to "master"