mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 07:45:49 +00:00
improved sonar cloud steps
This commit is contained in:
parent
eb9ac14eb8
commit
c4b07711a2
1 changed files with 4 additions and 2 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -15,8 +15,10 @@ pipeline{
|
|||
}
|
||||
stage('Sonar Cloud Analysis'){
|
||||
steps{
|
||||
withSonarQubeEnv('SONAR_CLOUD')
|
||||
sh 'mvn clean verify sonar:sonar -Dsonar.organization=springgit -Dsonar.projectKey=springgit'
|
||||
withSonarQubeEnv('SONAR_CLOUD'){
|
||||
sh 'mvn clean verify sonar:sonar -Dsonar.organization=springgit -Dsonar.projectKey=springgit'
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue