Setting up a Sonarqube server is explained in the post “Setting Up Sonar Server for TFS”. Sonar analysis helps to identify the technical debt in the source code of your project. Running it integrated with team service or TFS builds add more value by automating the quality checks with sonar server.
To run Sonarqube analysis for a project with TFS follow the steps described below.
1. Connect the Sonarqube server as a service endpoint in Team Project. For this go to settings –> Services and click New Service Endpoint –> Generic
2. Fill the information. Connection Name can be any name you prefer. Provide the Sonarqube URL as the Server URL. Provide Sonarqube Admin user name ad password.
3. Choose a build which is building a VS application fine at the moment and add SonarQube Begin Analysis and End Analysis steps from Task catalogue. Select the SonarQube endpoint created. Provide a key, name and a version for the project.
4. In the end analysis leave as it is nothing special needed.
5. Queue a build and analysis will run and send information to the SonarQube server.
6. In the SonarQube server you can see the results of the analysis.
It is great if the latest updates to TFS can be applied as and when they are released. But for a large organization it might not be sometime...
Resolve MSB4019: The imported project "C:\Program Files\dotnet\sdk\1.0.0-rc4-004771\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Props" was not found or Unable to start the process. No executable found matching command "dotnet-projectmodel-server"You might encounter compilation error in Visual Studio 2015 when a new .NET Core 1 web app is created, if you have installed Visual Studio 2...
TFS 2018 RC1 is now available and you can download it from https://www.visualstudio.com/downloads/ . Release note here explains the new fea...
You needed to setup dedicated machines for testing when using Run Functional Tests and you had to execute, Deploy Test Agent step and Copy...
This extension “ Chamindac.vsts.release.task.download-artifacts ” for VSTS and TFS 2015.2.1 upwards, can be used to filter for build artifac...