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