This is an automated email from the ASF dual-hosted git repository. rfscholte pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-jenkins-lib.git
The following commit(s) were added to refs/heads/master by this push: new 852083f Activate sonarqube on first project 852083f is described below commit 852083f271f8ad153ee6e2c4b40c2d43adbdd5c3 Author: rfscholte <rfscho...@apache.org> AuthorDate: Fri Dec 28 12:45:30 2018 +0100 Activate sonarqube on first project --- vars/asfMavenTlpPlgnBuild.groovy | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vars/asfMavenTlpPlgnBuild.groovy b/vars/asfMavenTlpPlgnBuild.groovy index 3c3d212..ca8658c 100644 --- a/vars/asfMavenTlpPlgnBuild.groovy +++ b/vars/asfMavenTlpPlgnBuild.groovy @@ -121,6 +121,8 @@ def doCreateTask( os, jdk, maven, tasks, first, plan, taskContext ) ] if (!first) { cmd += '-Dfindbugs.skip=true' + } else { + cmd += 'sonar:sonar' } if (jdk == '7') { // Java 7u80 has TLS 1.2 disabled by default: need to explicitely enable