von Johannes Schmidt
You may have stumbled upon http://jenkins-php.org/ which features a “Template for Jenkins Jobs for PHP Projects”. This is yet another great project by Sebastian Bergmann in the area of PHP software quality (assurance).
You may also have been somewhat demotivated by the “info glut” provided on jenkins-php.org at first glance (config. snippets, tools, install instructions, dependencies). I was, anyway
This is where The “PHP Continuous Integration with Jenkins” playground hooks in. First, this tiny project composes the various required config. files with (absolutely) basic settings.
Now, you just have to follow the instructions on required Jenkins plugins, required PHP tools, and how to use the job template given on jenkins-php.org.
Second, this project adds a dummy class
PhpCiPlayground as well as a dummy unit test for
PhpCiPlayground::getFoo() which releases you from providing some sample code residing in a repository just to get a quick impression of how all this feels.
After having the PHP QA tools and corresponding Jenkins plugins up running, just install the Jenkins git plugin, enter
https://github.com/joschmidt/php-ci-playground.git in the job’s source code management section*, and finally run a build job.
You will receive the full arsenal of reports, an API doc., and a code browser within seconds:
Feel free to fork this – it’s a playground!
* If you have trouble with checking out from this git repository try “Skip internal tag” in the SCM section, e.g. see http://stackoverflow.com/questions/11122913/jenkinsgit-tell-me-who-you-are-error-why-does-it-need-to-tag.