mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-12-27 19:07:28 +00:00
sonar
This commit is contained in:
parent
c993c75312
commit
f7f25439eb
1 changed files with 16 additions and 0 deletions
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
|
|
@ -20,5 +20,21 @@ pipeline {
|
|||
"""
|
||||
}
|
||||
}
|
||||
|
||||
stage("Sonar-Scanning") {
|
||||
steps {
|
||||
withSonarQubeEnv('sonarqube') {
|
||||
sh """
|
||||
|
||||
${tool 'SonarScanner'}/bin/sonar-scanner \
|
||||
-Dsonar.projectKey=spring-petclinic \
|
||||
-Dsonar.projectName=spring-petclinic\
|
||||
-Dsonar.sources=. \
|
||||
-Dsonar.sourceEncoding=UTF-8
|
||||
"""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue