mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 05:55:51 +00:00
sonar devlop
This commit is contained in:
parent
60c6095ebf
commit
4ce23f826a
1 changed files with 2 additions and 2 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -20,10 +20,10 @@ pipeline {
|
|||
stage ("CodeScaning"){
|
||||
environment {
|
||||
SONAR_HOME = tool 'sonar-scan'
|
||||
}
|
||||
}
|
||||
steps{
|
||||
withSonarQubeEnv('SonarServer') {
|
||||
sh '''$SCANNER_HOME/bin/sonar-scanner \
|
||||
sh '''$SONAR_HOME/bin/sonar-scanner \
|
||||
-Dsonar.projectKey=myPETC \
|
||||
-Dsonar.projectName=mypetclinc \
|
||||
-Dsonar.sources=. \
|
||||
|
|
Loading…
Reference in a new issue