feat: refs #6695 clean up Cypress screenshots and archive artifacts in Jenkins pipeline
gitea/salix-front/pipeline/pr-dev Something is wrong with the build of this commit Details

This commit is contained in:
Alex Moreno 2025-03-14 08:01:32 +01:00
parent 23f04dae1a
commit 618926430c
1 changed files with 2 additions and 0 deletions

2
Jenkinsfile vendored
View File

@ -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