feat: refs #6695 when failure, clean
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2025-01-31 10:38:59 +01:00
parent a5e9b2f455
commit 8720371827
1 changed files with 6 additions and 6 deletions

12
Jenkinsfile vendored
View File

@ -95,13 +95,13 @@ pipeline {
sh 'docker-compose -f docker-compose.e2e.yml build e2e'
sh 'docker-compose -f docker-compose.e2e.yml up e2e'
}
failure {
echo 'Removing containers...'
sh 'docker rm -f vn-database || true'
sh 'docker rm -f salix_e2e || true'
sh 'docker-compose -f docker-compose.e2e.yml down || true'
}
post {
failure {
echo 'Removing containers...'
sh 'docker rm -f vn-database || true'
sh 'docker rm -f salix_e2e || true'
sh 'docker-compose -f docker-compose.e2e.yml down || true'
}
always {
junit(
testResults: 'junitresults.xml',