Skip to content

adambro/php-jenkins-example

Repository files navigation

php-jenkins-example

PHP static code analysis on Jenkins

Use it in your own project

Clone repo, remove irrelevant directories and Silex app.

git clone https://github.com/adambro/php-jenkins-example.git
rm -r .git/ db/ src/* tests/* www/ composer.lock
composer remove silex/silex doctrine/dbal symfony/twig-bridge twbs/bootstrap
composer update

Essentially you get the barebones of a PHP project in git. The most important part is wiring between various QA tools (phpmd, phpcpd, phpunit) with their counterpart Jenkins plugins. Relevant directories (like ./build/) and files (like .gitignore or phpunit.xml.dist) are left intact.

License

The code is released to public domain using Unlicense http://unlicense.org

Releases

No releases published

Packages

No packages published