parallel tests in pipeline

This commit is contained in:
Michael Hoennig 2024-11-05 12:24:55 +01:00
parent 8f45907f5d
commit 7bcf1a45b5

32
Jenkinsfile vendored
View File

@ -26,23 +26,33 @@ pipeline {
} }
} }
stage ('Compile & Test') { stage ('Compile') {
steps { steps {
sh './gradlew clean check --no-daemon -x pitest -x dependencyCheckAnalyze -x importOfficeData -x importHostingAssets' sh './gradlew clean processSpring compileJava compileTestJava --no-daemon'
} }
} }
stage ('Import-Tests') { stage ('Tests') {
steps { stage('Tests') {
sh './gradlew importOfficeData importHostingAssets' parallel {
} stage('Unit-/Integration/Acceptance-Tests') {
steps {
sh './gradlew check --no-daemon -x pitest -x dependencyCheckAnalyze -x importOfficeData -x importHostingAssets'
}
}
stage('Import-Tests') {
steps {
sh './gradlew importOfficeData importHostingAssets --no-daemon'
}
}
stage ('Scenario-Tests') {
steps {
sh './gradlew scenarioTests --no-daemon'
}
}
}
} }
stage ('Scenario-Tests') {
steps {
sh './gradlew scenarioTests'
}
}
} }
post { post {