Skip to content

Commit

Permalink
Run jobs parallel (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinGroscheTT committed Feb 10, 2023
1 parent 23dafb5 commit 97c39f6
Showing 1 changed file with 25 additions and 6 deletions.
31 changes: 25 additions & 6 deletions Jenkinsfile.internal
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,39 @@ pipeline {
}

stages {
stage ('Run Integration Test') {
steps {
// wait for completion and propagate errors
build job: '../integrationTest', parameters: [string(name: 'artifactName', value: "${JOB_BASE_NAME}")]
stage ('Run Parallel') {
failFast false
parallel {
stage ('Container Tests') {
stages {
stage ('Prepare Resources') {
steps {
copyArtifacts fingerprintArtifacts: true, projectName: '../prepareContainerTestData', selector: lastSuccessful()
}
}
}
stage ('Run Container Tests') {
steps {
withGradle {
bat './gradlew clean containerTest'
}
}
}
}
stage ('System Tests') {
steps {
build '../systemTests'
}
}
}
}
}

post {
unsuccessful {
mail to: "${env.EMAIL_RECIPIENTS}",
subject: "${JOB_NAME} - Build #${BUILD_NUMBER} - ${currentBuild.currentResult}",
body: "Check console output at ${BUILD_URL} to view the results."
}
}


}

0 comments on commit 97c39f6

Please sign in to comment.