jenkins: add missing maven wrapper for sonarqube deployment
This commit is contained in:
parent
bc53254cd2
commit
015aac3db6
1 changed files with 3 additions and 1 deletions
|
@ -39,7 +39,9 @@ pipeline {
|
||||||
when { expression { env.GIT_BRANCH == 'develop' } }
|
when { expression { env.GIT_BRANCH == 'develop' } }
|
||||||
steps {
|
steps {
|
||||||
withSonarQubeEnv('sonarqube') {
|
withSonarQubeEnv('sonarqube') {
|
||||||
sh "${mvn} org.sonarsource.scanner.maven:sonar-maven-plugin:3.4.0.905:sonar"
|
withMaven(maven: 'maven', jdk: 'JDK LTS') {
|
||||||
|
sh "${mvn} org.sonarsource.scanner.maven:sonar-maven-plugin:3.4.0.905:sonar"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue