mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-12-27 17:37:27 +00:00
scan
This commit is contained in:
parent
f7f25439eb
commit
bb7efcffc9
1 changed files with 15 additions and 11 deletions
26
Jenkinsfile
vendored
26
Jenkinsfile
vendored
|
|
@ -25,16 +25,20 @@ pipeline {
|
|||
steps {
|
||||
withSonarQubeEnv('sonarqube') {
|
||||
sh """
|
||||
|
||||
${tool 'SonarScanner'}/bin/sonar-scanner \
|
||||
-Dsonar.projectKey=spring-petclinic \
|
||||
-Dsonar.projectName=spring-petclinic\
|
||||
-Dsonar.sources=. \
|
||||
-Dsonar.sourceEncoding=UTF-8
|
||||
"""
|
||||
|
||||
./mvnw clean verify sonar:sonar \
|
||||
-Dsonar.projectKey=spring-petclinic \
|
||||
-Dsonar.projectName=spring-petclinic
|
||||
|
||||
"""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue