ci: refs #6695 streamline Cypress E2E test execution in Jenkinsfile and improve error handling
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2025-02-19 08:17:58 +01:00
parent 416d697ba2
commit ecd278946e
1 changed files with 3 additions and 3 deletions

6
Jenkinsfile vendored
View File

@ -171,9 +171,9 @@ pipeline {
def cleanDockerE2E() { def cleanDockerE2E() {
script { script {
sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml down || true" sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml down || true"
if (containerId?.trim()) { // if (containerId?.trim()) {
sh "docker rm ${containerId} || true" // sh "docker rm ${containerId} || true"
} // }
} }
} }