refactor: refs #6695 update Jenkinsfile to run E2E tests in parallel and simplify docker-compose command
gitea/salix-front/pipeline/pr-dev Something is wrong with the build of this commit
Details
gitea/salix-front/pipeline/pr-dev Something is wrong with the build of this commit
Details
This commit is contained in:
parent
2e0b4a5322
commit
5dc73614a3
|
@ -120,8 +120,10 @@ pipeline {
|
||||||
stage('E2E: Sections') {
|
stage('E2E: Sections') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
runTestsInParallel(2)
|
sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml up -d back"
|
||||||
|
sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml up -d front"
|
||||||
|
sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml up e2e"
|
||||||
|
checkErrors(folderName)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@ services:
|
||||||
e2e:
|
e2e:
|
||||||
image: alexmorenovn/vndev:latest
|
image: alexmorenovn/vndev:latest
|
||||||
# command: pnpm exec cypress run --browser chromium
|
# command: pnpm exec cypress run --browser chromium
|
||||||
command: sh -c "pnpm exec cypress install && pnpm exec cypress run --headed --spec ${CYPRESS_SPEC:?}"
|
command: pnpm exec cypress run --headed
|
||||||
environment:
|
environment:
|
||||||
- TZ=Europe/Madrid
|
- TZ=Europe/Madrid
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in New Issue