In this chapter, we will discuss continuous integration and inspection processes and set up a continuous integration environment to enable these practices. We will install Software Configuration Management (SCM), and learn how to import and manage the source code hosted in it. Then, we will install the Jenkins Continuous Integration server (Jenkins CI) and connect a project in the repository to the build server to automate the build process. Finally, we will install the Jenkins Sonar plugin and configure a build job in Jenkins so as to automatically execute a Sonar analysis after each build.
In this chapter, we cover:
The Continuous Inspection paradigm
Installing Subversion
Setting up a Subversion server
Installing Jenkins CI Server
Configuring Jenkins
Creating a build job
Installing the Sonar plugin
Building and monitoring your project