Revert "Use correct sonarqube environment in jenkins"
This reverts commit 8765e83 (cherry picked from commit c86a5aa)
This commit is contained in:
parent
fe12c17a62
commit
e395b54db4
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ pipeline {
|
||||||
stage('SonarQube (gitlab only)') {
|
stage('SonarQube (gitlab only)') {
|
||||||
when { expression { env.GIT_URL.startsWith('https://gitlab.com') } }
|
when { expression { env.GIT_URL.startsWith('https://gitlab.com') } }
|
||||||
steps {
|
steps {
|
||||||
withSonarQubeEnv('sonarqube-gitlab') {
|
withSonarQubeEnv('sonarqube') {
|
||||||
withMaven(maven: 'maven', jdk: 'JDK LTS') {
|
withMaven(maven: 'maven', jdk: 'JDK LTS') {
|
||||||
sh "${mvn} org.sonarsource.scanner.maven:sonar-maven-plugin:3.4.0.905:sonar"
|
sh "${mvn} org.sonarsource.scanner.maven:sonar-maven-plugin:3.4.0.905:sonar"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue