This commit is contained in:
Michaël Pailloncy 2017-03-06 20:00:13 +01:00
parent bb9b6e3e8e
commit 5db073f022

33
Jenkinsfile vendored
View file

@ -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
}
}
)
}
}