Sonar Integration with TFS for Java Projects - Blogs

Sonar Integration with TFS for Java Projects


Sonar Integration with JAVA.

1.Download sonar-3.7 and sonar-runner-2.3*** unzip folders and copy the contents in c drive.



2.Run InstallNTService, StartNTService and StartSonar bat files. from :-> sonar-3.7


3.Create "SONAR_RUNNER_HOME" variable "C:\sonar-runner-2.3" add C:\sonar-runner-2.3\bin to path

                            Environment Variable


4.Install sonar in Eclipse : with

                                  Sonar in Eclipse

5.check for the server availability: windows->Perspective->sonar->server URL-> click and check for availability.

                       Sonar window          Sonar settings in Eclipse

                         Running Sonar as a Standalone for java projects.

                         1. create in root folder.


                2. Open command prompt as Administrator: travers to the path of your project folder

                3. Run sonar-runner command  c:\fabrikam>sonar-runner


            4. Go to sonar portal and check for application association to sonar.

                     Analysis Result         Sonar Analysis results

                5. Please follow below link for more info..


                6. First time login UserName:  admin

                    Password: admin


                                       Running sonar as a part of Team Build for Java projects.

                  1. Download Sonar-ant-task-2.1.jar. copy it to Ant_Home\lib .


                 2.Include sonar property tags in build.xml.

                      Ant task in Build file    Build Script Continuation.

               3.Define Build

                    Build Defination         Build Defination

               4.Select ant script

                     Ant Script Build ScriptBuild Xml

                    Build Result    



5.Sonar portal will be updated Once the build is successful.  



Connect apps and integrate data with workflows using Azure Logic Apps

Implementing complex business process has been made easy. Logic Apps in azure provide a way to imple...

Read More >

TFS to VSTS Migrations

The next evolution of TFSWhether you’re a startup or Enterprise or you’re a team of just...

Read More >

CfMD services -Dynamics NAV

CfMD services help ISVs minimize the time and effort needed to get their software solution through t...

Read More >

Upcoming Webinar - Offshore support to North American Dynamics NAV partners

Offshore support to North American Dynamics NAV partners whose customers are moving to NAV '16Wh...

Read More >

Microsoft Azure Consultant

·         Executing technical feasibility as...

Read More >

Customer Feedback

Your feedback is important to us. Please share your experience working with Canarys & the journe...

Read More >


Multi-taskingIt is a concept of performing multiple tasks over a certain period of time by executing...

Read More >

Partnership Program

We understand that the world of technology is changing rapidly from day to day and businesses have m...

Read More >

Partnership Program

The Canarys Partner Program:Canarys is all set to expand its business reach across the Globe and is ...

Read More >

Upcoming Webinar US - Plugging for Cloud, Right or Wrong

Plugging for Cloud, Right or Wrong?Cloud computing continues to be one of the most advertising topic...

Read More >


Try DevOpSmartBoard Ultimate complete Azure DevOps End-to end reporting tool

Sign Up

  • Recent
  • Popular
  • Tag
Monthly Archive

Contact Us
  • *
  • *