mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 21:15:50 +00:00
Heuu
This commit is contained in:
parent
bb9b6e3e8e
commit
5db073f022
1 changed files with 17 additions and 16 deletions
33
Jenkinsfile
vendored
33
Jenkinsfile
vendored
|
@ -28,25 +28,26 @@ pipeline {
|
|||
|
||||
stage("tests") {
|
||||
steps {
|
||||
parallel (
|
||||
"static-analysis": {
|
||||
node("build") {
|
||||
unstash "sources"
|
||||
withMaven(maven:"M3") {
|
||||
withSonarQubeEnv('sonarqube') {
|
||||
sh 'mvn sonar:sonar'
|
||||
}
|
||||
parallel (
|
||||
"static-analysis": {
|
||||
node("build") {
|
||||
unstash "sources"
|
||||
withMaven(maven:"M3") {
|
||||
withSonarQubeEnv('sonarqube') {
|
||||
sh 'mvn sonar:sonar'
|
||||
}
|
||||
}
|
||||
},
|
||||
"performance-tests": {
|
||||
node("test") {
|
||||
echo "performance tests"
|
||||
sh "ls -rtl"
|
||||
sleep 20
|
||||
}
|
||||
sleep 30
|
||||
}
|
||||
)
|
||||
},
|
||||
"performance-tests": {
|
||||
node("build") {
|
||||
echo "performance tests"
|
||||
sh "ls -rtl"
|
||||
sleep 20
|
||||
}
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue