SLING-8262 - Add SonarQube analysis to Jenkins jobs
Disable pull requests comments as the @NonCPS fix was not enough.
diff --git a/vars/slingOsgiBundleBuild.groovy b/vars/slingOsgiBundleBuild.groovy
index 68f077b..2aa2a65 100644
--- a/vars/slingOsgiBundleBuild.groovy
+++ b/vars/slingOsgiBundleBuild.groovy
@@ -54,7 +54,7 @@
sh mvnCmd
if ( isPrBuild ) {
archiveArtifacts artifacts: '**/target/sonar/issues-report/**'
- addPullRequestComment("A SonarQube report for the changes added _only by this pull request_ was generated. Please review it at ${env.BUILD_URL}artifact/target/sonar/issues-report/issues-report-light.html")
+ //addPullRequestComment("A SonarQube report for the changes added _only by this pull request_ was generated. Please review it at ${env.BUILD_URL}artifact/target/sonar/issues-report/issues-report-light.html")
}
}