asd
This commit is contained in:
parent
899f8e0e44
commit
de33d89ba7
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user