mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 15:25:49 +00:00
test
This commit is contained in:
parent
b8cd9209f3
commit
2169201487
1 changed files with 5 additions and 0 deletions
|
@ -7,5 +7,10 @@ node {
|
||||||
withSonarQubeEnv("sq1") {
|
withSonarQubeEnv("sq1") {
|
||||||
sh "${mvn}/bin/mvn sonar:sonar -Dsonar.projectKey=Web -Dsonar.projectName='Web'"
|
sh "${mvn}/bin/mvn sonar:sonar -Dsonar.projectKey=Web -Dsonar.projectName='Web'"
|
||||||
}
|
}
|
||||||
|
stage('Build') {
|
||||||
|
// Execute Maven build. Replace with your specific build command.
|
||||||
|
def mvn = tool 'M3';
|
||||||
|
sh "./mvnw package" // Or any other relevant Maven goals for your project.
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue