![]() Add /output=%%\inspectReport.xml to the 'Additional inspectCode.Configuring SonarQube Runner with: ReSharper inspections (Inspections (.NET) runner) SonarQube Build Breaker is supported by the TeamCity plugin: the Build Breaker messages are parsed by TeamCity and added as Build Problems. Once the build is finished, the View in sonar link appears on the Build Results page allowing you to navigate to the SonarQube dashboard to view the results of the analysis. The plugin will trigger the SonarQube analysis with a SonarQube Runner and publish the results to the SonarQube server. ![]() You can add more parameters for the SonarQube Runner in the "Additional parameters" field of the Advanced Options. It is also recommended to provide paths to directories containing your sources root, test root, and binaries. sonar-project.properties are partially supported. Other fields are to be configured as described in the SonarQube Runner documentation. In the runner settings, you need to select a connection to the server to send the data to. To use the SonarQube runner with a Maven project, add the sonar:sonar goal to your project. Triggerring the analysis with Maven is not directly supported. Configuring SonarQube Build StepĪfter the integration is enabled, you can add and configure the SonarQube Build Runner as the final step of the build you want to run analysis on. The connection defined in a project will be available to all its build configurations and subprojects. Example settings for different databases can be found here. SonarQube Servers connections are managed in the SonarQube Servers page of the Project Settings, where the SonarQube server name and URL as well as the database settings are specified.įor details on the database settings, see the SonarQube documentation. Persistent cloud caches will allow cloud build agents to quickly transfer build dependencies such as Maven artifacts and NPM packages to one another, saving time and networking costs. The connection will be used by TeamCity to send data to the SonarQube Server. Teams using TeamCity in the cloud must have the opportunity to complete their builds as quickly as if they were using local installations. To enable the integration, you need to create at least one connection to a SonarQube Server. TeamCity 8.1 or greater is supported Configuring SonarQube Server Connection
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |