This commit is contained in:
mali 2022-03-17 22:46:10 +00:00
parent 899f8e0e44
commit de33d89ba7

12
Jenkinsfile vendored
View File

@ -43,16 +43,16 @@ pipeline {
environment { environment {
SCANNER_HOME = tool 'sonar-scanner' SCANNER_HOME = tool 'sonar-scanner'
} }
#agent { //agent {
# docker { // docker {
# image "${MAVEN_IMAGE}" // image "${MAVEN_IMAGE}"
# } // }
#} //}
steps { steps {
withSonarQubeEnv('cicd') { withSonarQubeEnv('cicd') {
echo '################# MAVEN ###################' echo '################# MAVEN ###################'
#sh 'mvn sonar:sonar' //sh 'mvn sonar:sonar'
sh "${SCANNER_HOME}/bin/sonar-scanner" sh "${SCANNER_HOME}/bin/sonar-scanner"
} }
} }