<commit_before># test-class-jenkins Wrapper Cookbook

The simplest possible wrapper cookbook showing how to use the Chef Community Jenkins cookbook as a library cookbook.

## Detail

While the Jenkins library cookbook does not automatically install Java, it provides a simple recipe to install Java for development purposes.  This is included in the default recipe:

    include_recipe 'jenkins::java'
    
Also, default attributes are provided for the `jenkins::master` recipe, again for development purposes.  These are included in default attributes:

    inclue_attribute 'jenkins::master'
    
Then we merely include `jenkins::master` as a base building block for further exploration with Chef and Jenkins.

## Usage

Use `bundle install` to install the required gems.

    bundle install --path vendor/bundle
    
Deploy the cookbook with Test Kitchen using the `kitchen-docker` plugin to follow the exercises in the _Testing Your Automation Code_ class:

    bundle exec kitchen converge

## Contributing

1. Fork the repository on Github
2. Create a named feature branch (i.e. `add-new-recipe`)
3. Write you change
4. Write tests for your change (if applicable)
5. Run the tests, ensuring they all pass
6. Submit a Pull Request

## License and Authors

Author:: <NAME> <<EMAIL>>
<commit_msg>Adding note about workaround for Xcode 5.1<commit_after># test-class-jenkins Wrapper Cookbook

The simplest possible wrapper cookbook showing how to use the Chef Community Jenkins cookbook as a library cookbook.

## Detail

While the Jenkins library cookbook does not automatically install Java, it provides a simple recipe to install Java for development purposes.  This is included in the default recipe:

    include_recipe 'jenkins::java'
    
Also, default attributes are provided for the `jenkins::master` recipe, again for development purposes.  These are included in default attributes:

    inclue_attribute 'jenkins::master'
    
Then we merely include `jenkins::master` as a base building block for further exploration with Chef and Jenkins.

## Usage

Use `bundle install` to install the required gems.

    bundle install --path vendor/bundle

NOTE: If you are using Xcode 5.1 on a Mac, use the following workaround:

    CONFIGURE_ARGS="--with-ldflags='-Wno-error=unused-command-line-argument-hard-error-in-future'" bundle install --path vendor/bundle

Recent changes made to Xcode 5.1 now return an error when invalid parameters
are passed.  Until the copy of Ruby in the Chef Client package is patched,
you'll need to use the above workaround.

Deploy the cookbook with Test Kitchen using the `kitchen-docker` plugin to follow the exercises in the _Testing Your Automation Code_ class:

    bundle exec kitchen converge

## Contributing

1. Fork the repository on Github
2. Create a named feature branch (i.e. `add-new-recipe`)
3. Write you change
4. Write tests for your change (if applicable)
5. Run the tests, ensuring they all pass
6. Submit a Pull Request

## License and Authors

Author:: <NAME> <<EMAIL>>

{'fraction_non_alphanumeric': 0.05946481665014866, 'fraction_numerical': 0.005946481665014866, 'mean_word_length': 4.256944444444445, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7071067', 'n_tokens_mistral': 810, 'n_tokens_neox': 772, 'n_words': 409}