diff --git a/Jenkinsfile b/Jenkinsfile index 8f6e0baec..cc5ca5a44 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -39,7 +39,9 @@ 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" }