parallel tests in pipeline

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

22
Jenkinsfile vendored
View File

@ -26,24 +26,34 @@ pipeline {
}
}
stage ('Compile & Test') {
stage ('Compile') {
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') {
stage('Tests') {
parallel {
stage('Unit-/Integration/Acceptance-Tests') {
steps {
sh './gradlew importOfficeData importHostingAssets'
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'
sh './gradlew scenarioTests --no-daemon'
}
}
}
}
}
post {
always {