refs #5739 feat: try remove duplicate networks
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
bfce8a57d4
commit
22b0e65e35
|
@ -39,11 +39,7 @@ pipeline {
|
||||||
NODE_ENV = ""
|
NODE_ENV = ""
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh "docker network rm testing-salix-5739-dockerrefactor_default -f || true"
|
sh "docker network ls | grep testing-${env.STACK_NAME} | awk '{print $1}' | xargs -r docker network rm"
|
||||||
sh "docker network rm testing-salix-5739-dockerrefactor_default -f || true"
|
|
||||||
sh "docker network rm testing-salix-5739-dockerrefactor_default -f || true"
|
|
||||||
sh "docker network rm testing-salix-5739-dockerrefactor_default -f || true"
|
|
||||||
sh "docker network rm testing-salix-5739-dockerrefactor_default -f || 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 rm --stop"
|
||||||
sh "docker-compose -p testing-${env.STACK_NAME} -f docker-compose.test.yml build --force-rm db"
|
sh "docker-compose -p testing-${env.STACK_NAME} -f docker-compose.test.yml build --force-rm db"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue