parallel tests in pipeline
This commit is contained in:
parent
8f45907f5d
commit
7bcf1a45b5
26
Jenkinsfile
vendored
26
Jenkinsfile
vendored
@ -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 ('Tests') {
|
||||||
|
stage('Tests') {
|
||||||
|
parallel {
|
||||||
|
stage('Unit-/Integration/Acceptance-Tests') {
|
||||||
|
steps {
|
||||||
|
sh './gradlew check --no-daemon -x pitest -x dependencyCheckAnalyze -x importOfficeData -x importHostingAssets'
|
||||||
|
}
|
||||||
|
}
|
||||||
stage('Import-Tests') {
|
stage('Import-Tests') {
|
||||||
steps {
|
steps {
|
||||||
sh './gradlew importOfficeData importHostingAssets'
|
sh './gradlew importOfficeData importHostingAssets --no-daemon'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage ('Scenario-Tests') {
|
||||||
|
steps {
|
||||||
|
sh './gradlew scenarioTests --no-daemon'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage ('Scenario-Tests') {
|
|
||||||
steps {
|
|
||||||
sh './gradlew scenarioTests'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
post {
|
post {
|
||||||
|
Loading…
Reference in New Issue
Block a user