Jenkins Cookbook v2.1.0

Ohai Chefs,

After much activity, I am excited to announce version 2.1.0 of the Jenkins cookbook has hit the shelves:

Changelog:

Change Jenkins command prefix to use the slave object
Escape data given to the executor
Always read plugin manifest files as UTF
Typo: Shelllwords -> Shellwords
Upgrade to Berkshelf 3
Add ChefSpec tests for recipes
Add Jenkins::Executor tests
Bug: Use ::File instead of File
Remove foodcritic
Fix Rubocop warnings
Only create user, group and directories on war installations
Only create supporting resources on JNLP slaves
Split jnlp and ssh slave fixtures
Document that SSH slaves should be created on the master
Ensure compiled attributes respect overrides
Ensure plugin installs respect global mirror setting
Add fallback to jenkins_slave matcher if authn is enabled
Update authn int tests to load private key from data bag item
Add integration test coverage for smoke tests
Add support for listening on a specific address
Allow user to specify the password
Use a temporary file to run groovy scripts
Use executor[‘timeout’] for timeout in ShellOut in executor.execute!
Give timeout a default value (60) in the executor
Ignore Errno::ENETUNREACH until timeout
Fix a bug in default windows domain name
Update winsw version to 1.16
Upgrade to ChefSpec 4 and fix CI
Use the run_state to store sensitive information
Switch to LWHRPS for everything
Handle nil values in credentials comparison
Add ChefSpec matchers for all LWRPs
Don’t automatically restart after plugin installation
Add the ability to pass in a list of additional options in jenkins_plugin
Specify actions and default_action in inherited resources

As always, please test this upgrade in an isolated environment before upgrading your entire infrastructure.

Happy cooking,
Seth 3 of 4
@sethvargo

Why the foodcritic removal?

Eric G. Wolfe
email: eric.wolfe@cyclecomputing.com
cell: 304.942.3970
twitter: @atomic_penguin

Cycle Computing
Leader in Utility HPC Software

http://www.cyclecomputing.com
twitter: @cyclecomputing

If money can't buy happiness, I guess you'll just have to rent it.

On 06/26/2014 01:55 PM, Seth Vargo wrote:

Ohai Chefs,

After much activity, I am excited to announce version 2.1.0 of the
Jenkins cookbook has hit the shelves:

Changelog:

  • Change Jenkins command prefix to use the slave object
  • Escape data given to the executor
  • Always read plugin manifest files as UTF
  • Typo: Shelllwords -> Shellwords
  • Upgrade to Berkshelf 3
  • Add ChefSpec tests for recipes
  • Add Jenkins::Executor tests
  • Bug: Use ::File instead of File
  • Remove foodcritic
  • Fix Rubocop warnings
  • Only create user, group and directories on war installations
  • Only create supporting resources on JNLP slaves
  • Split jnlp and ssh slave fixtures
  • Document that SSH slaves should be created on the master
  • Ensure compiled attributes respect overrides
  • Ensure plugin installs respect global mirror setting
  • Add fallback to jenkins_slave matcher if authn is enabled
  • Update authn int tests to load private key from data bag item
  • Add integration test coverage for smoke tests
  • Add support for listening on a specific address
  • Allow user to specify the password
  • Use a temporary file to run groovy scripts
  • Use executor['timeout'] for timeout in ShellOut in executor.execute!
  • Give timeout a default value (60) in the executor
  • Ignore Errno::ENETUNREACH until timeout
  • Fix a bug in default windows domain name
  • Update winsw version to 1.16
  • Upgrade to ChefSpec 4 and fix CI
  • Use the run_state to store sensitive information
  • Switch to LWHRPS for everything
  • Handle nil values in credentials comparison
  • Add ChefSpec matchers for all LWRPs
  • Don't automatically restart after plugin installation
  • Add the ability to pass in a list of additional options in
    jenkins_plugin
  • Specify actions and default_action in inherited resources

As always, please test this upgrade in an isolated environment before
upgrading your entire infrastructure.

Happy cooking,
Seth 3 of 4
@sethvargo