refs #5739 feat: try remove duplicate networks
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2024-01-12 13:49:32 +01:00
parent 0ea9997753
commit 112a5f1f3a
1 changed files with 2 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -39,7 +39,8 @@ pipeline {
NODE_ENV = ""
}
steps {
sh "docker network rm $(docker network ls -f name=\"testing-${env.STACK_NAME}_db_1\" -q) || true"
sh "docker network rm \$(docker network ls -f name=\"testing-${env.STACK_NAME}_db_1\" -q) || true"
// sh "docker network rm \$$(docker network ls -f name=\\\"testing-\${env.STACK_NAME}_db_1\\\" -q) || true"
sh "docker-compose -p testing-${env.STACK_NAME} -f docker-compose.test.yml rm --stop"
sh "docker-compose -p testing-${env.STACK_NAME} -f docker-compose.test.yml build --force-rm db"
}