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,10 +39,12 @@ pipeline {
|
||||||
when { expression { env.GIT_BRANCH == 'develop' } }
|
when { expression { env.GIT_BRANCH == 'develop' } }
|
||||||
steps {
|
steps {
|
||||||
withSonarQubeEnv('sonarqube') {
|
withSonarQubeEnv('sonarqube') {
|
||||||
|
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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
stage('Build Java Next') {
|
stage('Build Java Next') {
|
||||||
when { expression { true == false } }
|
when { expression { true == false } }
|
||||||
steps {
|
steps {
|
||||||
|
|
Loading…
Reference in a new issue