cookbook 'jenkins-php', '= 0.0.1'
jenkins-php (2) Versions 0.0.1 Follow1
Cookbook for install Jenkins and PHP template
cookbook 'jenkins-php', '= 0.0.1', :supermarket
knife supermarket install jenkins-php
knife supermarket download jenkins-php
Jenkins PHP Cookbook
Introduction
This cookbook install the Jenkins CI and config PHP Template.
Requirements
Chef 0.10.10+ for platform_family use.
Usage
- Go to localhost:8080
- Click on "New Job".
- Enter a "Job name".
- Select "Copy existing job" and enter "php-template" into the "Copy from" field.
- Click "OK".
- Uncheck the "Disable Build" option.
- Fill in your "Source Code Management" information.
- Configure a "Build Trigger", for instance "Poll SCM".
- Click "Save".
- Add folder 'files' in your project root, like: <pre> `-- your project |-- build.xml |-- build |-- phpcs.xml |-- phpdox.xml |-- phpmd.xml |-- phpunit.xml |-- logs |-- checkstyle.xml |-- clover.xml |-- crap4j.xml |-- jdepend.xml |-- junit.xml |-- phploc.csv |-- pmd-cpd.xml |-- pmd.xml</pre>
Platform Tested
- Ubuntu 12.04 LTS 32-bit (precise32)
Dependencies
More information
Check the Chef Solo documentation
Dependent cookbooks
apt >= 0.0.0 |
php >= 0.0.0 |
jenkins >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Foodcritic Metric
0.0.1 failed this metric
FC007: Ensure recipe dependencies are reflected in cookbook metadata: /tmp/cook/bc3d604a4bf7153ecf5ebc22/jenkins-php/recipes/default.rb:1
FC007: Ensure recipe dependencies are reflected in cookbook metadata: /tmp/cook/bc3d604a4bf7153ecf5ebc22/jenkins-php/recipes/default.rb:9
FC007: Ensure recipe dependencies are reflected in cookbook metadata: /tmp/cook/bc3d604a4bf7153ecf5ebc22/jenkins-php/recipes/default.rb:10
0.0.1 failed this metric
FC007: Ensure recipe dependencies are reflected in cookbook metadata: /tmp/cook/bc3d604a4bf7153ecf5ebc22/jenkins-php/recipes/default.rb:9
FC007: Ensure recipe dependencies are reflected in cookbook metadata: /tmp/cook/bc3d604a4bf7153ecf5ebc22/jenkins-php/recipes/default.rb:10