From 112a5f1f3a429d3711c1b2e9b4b12176b820c1f5 Mon Sep 17 00:00:00 2001 From: alexm Date: Fri, 12 Jan 2024 13:49:32 +0100 Subject: [PATCH] refs #5739 feat: try remove duplicate networks --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 44a0ad411..79cf9350f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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" }