The SonarQube plugin for Digital.ai Release strengthens test automation section of the CD pipeline and ensures that code adheres to your organization???s coding standards. Built-in code analysis also ensures that code is always automatically checked against compliance requirements as part of the release process
Steps
sonar.Server: Connection definition for SonarQube Server
sonarCloud.Server: Connection definition for SonarCloud Server
sonar.task: Abstract base task for Compliance task. This task has been extended by sonar and sonarcloud Check Compliance task
sonar.qualityCheckTask: Abstract base task for Quality Check task. Quality Check task has been extended by sonar and sonarcloud Check Quality task
sonar.checkBlockingViolationTask: Abstract base task for Blocking Violations task. Blocking Violations task has been extended by sonar and sonarcloud Check Blocking violation task
sonar.setLatestAnalysisVersionTask: Abstract base task for set analysis version task. This task has been extended by sonar and sonarcloud Set Latest Analysis Version task
sonar.checkCompliance: Check Compliance task checks the general metrics and it values are with in the threshold or not and it shows the result. If it exceeds the threshold, task will fail
sonarCloud.checkCompliance: Check Compliance task checks the general metrics and it values are with in the threshold or not and it shows the result. If it exceeds the threshold, task will fail
sonar.checkQuality: Check Quality task checks the line coverage, complexity, duplicated lines, violations are with in the threshold or not. If it exceeds the threshold, task will fail
sonarCloud.checkQuality: Check Quality task checks the line coverage, complexity, duplicated lines, violations are with in the threshold or not. If it exceeds the threshold, task will fail
sonar.checkBlockingViolation: Blocking Violations task checks the blocker, major, minor violations are with in the threshold or not. If it exceeds the threshold, task will fail
sonarCloud.checkBlockingViolation: Blocking Violations task checks the blocker, major, minor violations are with in the threshold or not. If it exceeds the threshold, task will fail
sonar.setLatestAnalysisVersion: Set Analysis version task sets the configured analysis version
sonarCloud.setLatestAnalysisVersion: Set Analysis version task sets the configured analysis version
sonar.BaseSummaryTile:
sonar.SonarSummaryTile: Shows the metrics of the latest analysis.
sonarCloud.SonarSummaryTile: Shows the metrics of the latest analysis.
sonar.BaseComplianceTile:
sonar.SonarComplianceTile: Shows the compliance trends per version.
sonarCloud.SonarComplianceTile: Shows the compliance trends per version.