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