This book covers everything you need to know in order to use Jenkins for the continuous integration of your PHP projects. Here is how the book is organized:
In this chapter you will learn how to use Apache Ant to automate your build.
This chapter explains how to set up Jenkins and install the PHP tools that are required to continuously integrate a PHP project.
This chapter shows how to create a job for a PHP project in Jenkins.
Building on the continuous integration environment that was set up in the previous chapter, you will learn in this chapter how to add static code analysis tools to the build for continuous inspection.
This chapter shows how the automated build and continuous integration of a PHP project can be simplified by using the PHP Project Wizard and the Template for Jenkins Jobs for PHP Projects.
This chapter concludes the book with a summary of the benefits of Continuous Integration and Continuous Inspection while providing an outlook of what you can implement in addition to the processes and techniques described in this book.
This book makes the assumption that the reader is familiar with the concept of Continuous Integration and the set of problems it aims to solve. [Duvall2007] and [Humble2010] are recommended basic and further reading, respectively, on this topic.
While this book explains how to install Jenkins and how to configure it for PHP jobs it does not cover topics such as authentication, for instance, that are impartial to the programming stack used. Furthermore, the assumption is made that Jenkins is installed in a UNIX environment. For Jenkins-related topics not covered in this book the reader is referred to [Smart2011].
The planning, execution, and automation of tests for the different layers and tiers of a PHP-based web application is also outside the scope of this book. [Bergmann2011] is an excellent resource on these matters.