mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:55:49 +00:00
added cnew repo
This commit is contained in:
parent
1ba785013d
commit
9526d59617
1 changed files with 2 additions and 0 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -18,7 +18,9 @@ pipeline{
|
||||||
// }
|
// }
|
||||||
stage('Build & SonarQube Scan') {
|
stage('Build & SonarQube Scan') {
|
||||||
steps {
|
steps {
|
||||||
|
sh 'cd spring-petclinic-jenkins'
|
||||||
sh 'mvn --version'
|
sh 'mvn --version'
|
||||||
|
sh 'mvn package'
|
||||||
// withSonarQubeEnv('SONAR_CLOUD') {
|
// withSonarQubeEnv('SONAR_CLOUD') {
|
||||||
// sh 'mvn clean install sonar:sonar -Dsonar.organization=qtdevopssohail123 -Dsonar.token=8c15adacf466a5ccd721f4f7cdb2c4bf17df84ab -Dsonar.projectKey=qtdevopssohail123'
|
// sh 'mvn clean install sonar:sonar -Dsonar.organization=qtdevopssohail123 -Dsonar.token=8c15adacf466a5ccd721f4f7cdb2c4bf17df84ab -Dsonar.projectKey=qtdevopssohail123'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue