jenkins: add missing maven wrapper for sonarqube deployment

This commit is contained in:
Paul Campbell 2018-03-11 09:40:32 +00:00
parent bc53254cd2
commit 015aac3db6

View file

@ -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 {