From 618926430c21132ff8732e1b0b8bed85ddc8fa75 Mon Sep 17 00:00:00 2001 From: alexm Date: Fri, 14 Mar 2025 08:01:32 +0100 Subject: [PATCH] feat: refs #6695 clean up Cypress screenshots and archive artifacts in Jenkins pipeline --- Jenkinsfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 63577dad5e..1add5ed63b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -115,6 +115,7 @@ pipeline { steps { script { sh 'rm -f junit/e2e-*.xml' + sh 'rm -rf test/cypress/screenshots' env.COMPOSE_TAG = PROTECTED_BRANCH.contains(env.CHANGE_TARGET) ? env.CHANGE_TARGET : 'dev' def image = docker.build('lilium-dev', '-f docs/Dockerfile.dev docs') @@ -130,6 +131,7 @@ pipeline { post { always { sh "docker-compose ${env.COMPOSE_PARAMS} down -v" + archiveArtifacts artifacts: 'test/cypress/screenshots/**/*' junit( testResults: 'junit/e2e-*.xml', allowEmptyResults: true