test: refs #6695 try run e2e parallel
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2025-02-03 13:19:32 +01:00
parent 2e8caf6e8f
commit 1da88fd70c
1 changed files with 19 additions and 5 deletions

24
Jenkinsfile vendored
View File

@ -105,6 +105,11 @@ pipeline {
sh 'git clone https://gitea.verdnatura.es/verdnatura/salix.git'
}
}
stage('Build E2E') {
steps {
sh 'docker-compose -f docker-compose.e2e.yml build e2e'
}
}
stage('Up') {
parallel{
stage('Database') {
@ -124,11 +129,6 @@ pipeline {
sh 'docker-compose -f docker-compose.e2e.yml up -d --build front'
}
}
stage('Build E2E') {
steps {
sh 'docker-compose -f docker-compose.e2e.yml build e2e'
}
}
}
}
stage('Run: Globals') {
@ -145,6 +145,20 @@ pipeline {
}
}
}
stage('Run: Specifics') {
parallel{
stage('claim') {
steps {
sh 'docker-compose -f docker-compose.e2e.yml run e2e npx cypress run --config specPattern=test/cypress/integration/claim/**/*.spec.js'
}
}
stage('item') {
steps {
sh 'docker-compose -f docker-compose.e2e.yml run e2e npx cypress run --config specPattern=test/cypress/integration/item/**/*.spec.js'
}
}
}
}
}
post {
always {