mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 07:45:49 +00:00
test
This commit is contained in:
parent
a5aa18e619
commit
54a434f236
1 changed files with 4 additions and 4 deletions
|
@ -7,10 +7,10 @@ pipeline {
|
||||||
withSonarQubeEnv("sq1"){
|
withSonarQubeEnv("sq1"){
|
||||||
def mvnHome = tool "M3"
|
def mvnHome = tool "M3"
|
||||||
sh """
|
sh """
|
||||||
${mvnHome}/bin/mvn sonar:sonar \
|
${mvnHome}/bin/mvn sonar:sonar
|
||||||
-Dsonar.projectKey=Web \ // Replace with your actual project key
|
-Dsonar.projectKey=Web
|
||||||
-Dsonar.host.url=http://localhost:9000/ \
|
-Dsonar.host.url=http://localhost:9000/
|
||||||
-Dsonar.login=squ_ea9632ad9d734f30372ed61b6565f2fa028e8e5e // Replace with your actual SonarQube token
|
-Dsonar.login=squ_ea9632ad9d734f30372ed61b6565f2fa028e8e5e
|
||||||
|
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue