From ca50259d5058cdfa7062957da8cb99d9fbc27c29 Mon Sep 17 00:00:00 2001 From: alexm Date: Wed, 19 Feb 2025 08:01:53 +0100 Subject: [PATCH] ci: refs #6695 streamline Cypress E2E test execution in Jenkinsfile and improve error handling --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 30a22b9cd..9512717e4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -112,11 +112,11 @@ pipeline { script { sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml up -d" def containerId = sh(script: """ - docker run --network \${env.NETWORK}_e2e-network \\ + docker run --network ${env.NETWORK}_e2e-network \\ -e TZ=Europe/Madrid \\ -e DOCKER=true \\ -e CI=true \\ - -v \$(pwd):/app \\ + -v $(pwd):/app \\ -w /app \\ cypress/included:latest \\ sh -c "while [ ! -d node_modules/cypress ]; do sleep 1; done && pnpm exec cypress run --browser chromium"