mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-20 04:23:59 +00:00
Try with parallel tests
This commit is contained in:
parent
ba17c1da14
commit
dc724eae92
1 changed files with 31 additions and 27 deletions
18
services/web/Jenkinsfile
vendored
18
services/web/Jenkinsfile
vendored
|
@ -67,6 +67,8 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stage('Test and Minify') {
|
||||||
|
parallel {
|
||||||
stage('Unit Test') {
|
stage('Unit Test') {
|
||||||
agent {
|
agent {
|
||||||
docker {
|
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') {
|
stage('Acceptance Test') {
|
||||||
steps {
|
steps {
|
||||||
// Spawns its own docker containers
|
// Spawns its own docker containers
|
||||||
|
@ -104,6 +99,15 @@ pipeline {
|
||||||
sh 'WEBPACK_ENV=production make minify'
|
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') {
|
stage('Package') {
|
||||||
steps {
|
steps {
|
||||||
|
|
Loading…
Reference in a new issue