From 49e84497eb3343f4dab6fbb24ed9373cc33f2e9c Mon Sep 17 00:00:00 2001 From: alexm Date: Wed, 19 Feb 2025 09:22:19 +0100 Subject: [PATCH] ci: refs #6695 update Cypress Docker setup and improve container management in Jenkinsfile --- Jenkinsfile | 2 +- Dockerfile.e2e => test/cypress/Dockerfile | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename Dockerfile.e2e => test/cypress/Dockerfile (100%) diff --git a/Jenkinsfile b/Jenkinsfile index c0288383025..a0eb94a775e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -103,7 +103,7 @@ pipeline { cleanDockerE2E() sh "pnpm exec cypress install" // sh "docker build -t cypress-setup:latest -f ./test/cypress/Dockerfile ." - docker.build('cypress-setup:latest', "-f ./Dockerfile.e2e .") + docker.build('cypress-setup:latest', "-f ./Dockerfile.e2e . -v ./node_modules:/node_modules") } } diff --git a/Dockerfile.e2e b/test/cypress/Dockerfile similarity index 100% rename from Dockerfile.e2e rename to test/cypress/Dockerfile