CodeAnalysis
resource is used with Sonar Integration and is a comprehensive code analysis tool capable of generating Sonar scan reports and capturing point-in-time metrics. It seamlessly integrates with Git resources, linking Sonar metrics to specific Git commits through runs.
Code Analysis YAML Schema
resources: - name: maven_app_sonar_report # name of the resource type: CodeAnalysis # codeAnalysis resource to capture sonar scan report configuration: integration: SonarIntegration # name of the Sonar Integration
Tag | Description | Required/Optional |
---|---|---|
| An alphanumeric string (underscores are permitted) that identifies the resource. | Required |
| It must be | Required |
| Specifies all configuration selections for the resource. | Required |
| Name of the Sonar Integration. | Required |