From 1da88fd70c4f07c2cfa180210fab18dc53fae393 Mon Sep 17 00:00:00 2001 From: alexm Date: Mon, 3 Feb 2025 13:19:32 +0100 Subject: [PATCH] test: refs #6695 try run e2e parallel --- Jenkinsfile | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ee6c0ff7f..028480712 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 {