Teamcity integration

Hi All,

We are using .net with Teamcity pipeline. Does Sonar community version have any out of box plugin for running .NET code or we need to customize?

Please share. document. For Team city integration with sonar community we need to use sonar scanner and Sonar Qube.

Thanks
Bibhas

Hi Bibhas,

Welcome to the community!

Actually no. If you want to analyze .NET code, you’ll need to use the SonarScanenr for .NET, and that link should get you started.

 
HTH,
Ann

Thank you !, SonarScanner and Sonarqube Community we need to install for .net.
How to integrate SonarScanner with Teamcity for CI/CD . I saw Jenkins have out of box plugin.
Could you please share document ,TeamCity with SonarScanner integration process for CI/CD?

We need both Stand alone and CI/CD (TeamCity)for code scanning…

Hi,

We don’t offer a TeamCity plugin. You’ll need to integrate it manually into your pipeline. The docs should get you started.

 
HTH,
Ann

Hi

Could you please let me which CI/CD pipeline tool support Sonarqube Community ? Out of box,

Hi,

In any tool that allows scripting, you should be able to set up analysis, regardless of edition.

 
HTH,
Ann

Teamcity With Sonar community edition need to configure, Any plugin exist or how to configure manually

In document mentioned Developer edit is required for azure pipeline and other also
Analyze projects with Azure Pipelines - Integrate analysis into your build pipeline. Starting in Developer Edition, the SonarQube Extension running in Azure Pipelines jobs can automatically detect branches or pull requests being built, so you don’t need to specifically pass them as parameters to the scanner

Hi,

Again:

 
Ann

That will only main branch for pipeline or we can all branch code analysis

Hi,

If you’re running a commercial edition, then you should be able to script analysis of all your branches. But firing the pipeline for a change in a branch is really a TeamCity question.

 
HTH,
Ann