build: refs #6695 always clean dockers
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Alex Moreno 2025-01-31 12:50:36 +01:00
parent 8dd2659d9f
commit 7811e44d8b
1 changed files with 1 additions and 6 deletions

7
Jenkinsfile vendored
View File

@ -99,8 +99,6 @@ pipeline {
def packageJson = readJSON file: 'package.json'
env.VERSION = "${packageJson.version}-build${env.BUILD_ID}"
}
// sh "docker network rm e2e_default || true"
// sh 'docker network create e2e_default || true'
sh 'rm -rf salix'
sh 'git clone https://gitea.verdnatura.es/verdnatura/salix.git'
// Db
@ -117,13 +115,10 @@ pipeline {
sh 'docker-compose -f docker-compose.e2e.yml up e2e'
}
post {
failure {
echo 'Removing containers...'
always {
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',
allowEmptyResults: true