SLING-8262 - Add SonarQube analysis to Jenkins jobs
Build on all branches (for now)
diff --git a/vars/slingOsgiBundleBuild.groovy b/vars/slingOsgiBundleBuild.groovy
index b359e5f..6cb1bd9 100644
--- a/vars/slingOsgiBundleBuild.groovy
+++ b/vars/slingOsgiBundleBuild.groovy
@@ -29,7 +29,7 @@
// also, we don't activate any Maven publisher since we don't want this part of the
// build tracked, but using withMaven(...) allows us to easily reuse the same
// Maven and JDK versions
- if ( env.BRANCH_NAME == "master" ) {
+ // if ( env.BRANCH_NAME == "master" ) {
def additionalMavenParams = additionalMavenParams(jobConfig)
stage('SonarQube') {
withSonarQubeEnv('ASF Sonar Analysis') {
@@ -40,7 +40,7 @@
}
}
}
- }
+ // }
} else {
echo "Job is disabled, not building"