From e395b54db4db62eb44693dc8c80b7abe662540a4 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Mon, 18 Jun 2018 17:02:29 +0100 Subject: [PATCH] Revert "Use correct sonarqube environment in jenkins" This reverts commit 8765e83 (cherry picked from commit c86a5aa) --- Jenkinsfile.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile.groovy b/Jenkinsfile.groovy index c846b85..0d3d2b8 100644 --- a/Jenkinsfile.groovy +++ b/Jenkinsfile.groovy @@ -39,7 +39,7 @@ pipeline { stage('SonarQube (gitlab only)') { when { expression { env.GIT_URL.startsWith('https://gitlab.com') } } steps { - withSonarQubeEnv('sonarqube-gitlab') { + withSonarQubeEnv('sonarqube') { withMaven(maven: 'maven', jdk: 'JDK LTS') { sh "${mvn} org.sonarsource.scanner.maven:sonar-maven-plugin:3.4.0.905:sonar" }