Try with parallel tests

This commit is contained in:
James Allen 2018-07-10 16:42:52 +01:00
parent ba17c1da14
commit dc724eae92

View file

@ -67,6 +67,8 @@ pipeline {
}
}
stage('Test and Minify') {
parallel {
stage('Unit Test') {
agent {
docker {
@ -79,13 +81,6 @@ pipeline {
}
}
stage('Frontend Unit Test') {
steps {
// Spawns its own docker containers
sh 'make --no-print-directory test_frontend'
}
}
stage('Acceptance Test') {
steps {
// Spawns its own docker containers
@ -104,6 +99,15 @@ pipeline {
sh 'WEBPACK_ENV=production make minify'
}
}
}
}
stage('Frontend Unit Test') {
steps {
// Spawns its own docker containers
sh 'make --no-print-directory test_frontend'
}
}
stage('Package') {
steps {