Do I need sonar and sonar runner for Jenkins?

前端 未结 1 1484
南笙
南笙 2020-12-08 18:58

I want to set up Sonar with Jenkins. But I\'m not sure if the Sonar site describes two different ways to do this or if there are two necessary steps:

As far as I und

相关标签:
1条回答
  • 2020-12-08 19:47

    If you want to analyse a project with SonarQube and Jenkins, here's what you need:

    • A SonarQube server up and running

    • A Jenkins server up and running with the SonarQube Scanner for Jenkins installed and configure to point to your SonarQube server

    • A job configured to run a SonarQube analysis on your project:

      • Using the default and standard SonarQube Scanner (suitable for most projects)

      • Using the SonarQube Scanner for MSBuild (for .NET solutions)

      • Using a post build action for Maven-based projects

    Everything is described more in details on the SonarQube Scanner for Jenkins documentation page.

    0 讨论(0)
提交回复
热议问题