News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Carl Vuorinen:
Installing SonarQube with Jenkins integration for a PHP project
September 04, 2013 @ 10:50:25

Carl Vuorinen has posted a tutorial about getting SonarQube to run on your codebase (with the help of Jenkins). SonarQube runs statics on your application including lines of code, number of classes, enforcement of coding standards and duplicated code.

n this second part of my Continous Integration setup I will detail the steps required to install SonarQube (previously called just Sonar, renamed to SonarQube with 3.6 release just a few days ago) and integrate it with the Jenkins server from the previous post so SonarQube will run a daily analysis of our PHP project. In the previous post I covered the installation of Jenkins on a CentOS server and integrated it with GitHub, so if you do not have Jenkins set up you might want to start there.

He talks a bit about what SonarQube can do for you and the features it includes as well as links to a screencast and live demo. From there he gets into the setup and configuration, broken down into steps:

  • Installing SonarQube (with yum)
  • Creating the MySQL database it needs
  • Installing SonarQube Runner
  • Installing PHP environment for SonarQube
  • Integrating SonarQube with Jenkins

There's a quick note at the end about some things that can be done to optimize and clean up the installation too.

0 comments voice your opinion now!
sonarqube jenkins code analysis project tutorial install configure

Link: http://cvuorinen.net/2013/07/installing-sonarqube-with-jenkins-integration-for-a-php-project/

blog comments powered by Disqus

Similar Posts

7PHP.com: Auto Generate Properties Dynamically For Your Classes Using Magic Methods & Reflection

PHPMaster.com: Using SSH and SFTP with PHP

CorePHP Blog: A Guide to running Apache 2, PHP 4 & PHP 5 on Windows XP

DevShed: The mysqli Extension and the Active Record Pattern

PHPBuilder.com: PHP with Apache on Windows? Piece of Cake!


Community Events

Don't see your event here?
Let us know!


development introduction laravel5 api release community unittest extension interview podcast conference framework laravel video library opinion language psr7 voicesoftheelephpant series

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework