From 6d02a8dc0cc0d885b95c3ae48562365782f775eb Mon Sep 17 00:00:00 2001 From: alexm Date: Fri, 12 Jan 2024 14:14:21 +0100 Subject: [PATCH] refs #5739 feat: try remove duplicate networks --- Jenkinsfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index cc5ca5a44..8f6e0baec 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -39,9 +39,7 @@ pipeline { NODE_ENV = "" } steps { - sh ''' - docker network ls | grep testing-${env.STACK_NAME} | awk '{print $1}' | xargs -r docker network rm - ''' + sh "docker network ls | grep testing-\${env.STACK_NAME} | awk '{print \$1}' | xargs -r docker network rm" 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" }