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 {
SCANNER_HOME = tool 'sonar-scanner'
}
#agent {
# docker {
# image "${MAVEN_IMAGE}"
# }
#}
//agent {
// docker {
// image "${MAVEN_IMAGE}"
// }
//}
steps {
withSonarQubeEnv('cicd') {
echo '################# MAVEN ###################'
#sh 'mvn sonar:sonar'
//sh 'mvn sonar:sonar'
sh "${SCANNER_HOME}/bin/sonar-scanner"
}
}