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
112a5f1f3a
commit
ccd80eb6e2
|
@ -39,8 +39,11 @@ pipeline {
|
||||||
NODE_ENV = ""
|
NODE_ENV = ""
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh "docker network rm \$(docker network ls -f name=\"testing-${env.STACK_NAME}_db_1\" -q) || true"
|
sh "docker network rm testing-${env.STACK_NAME}_db_1 -f || true"
|
||||||
// sh "docker network rm \$$(docker network ls -f name=\\\"testing-\${env.STACK_NAME}_db_1\\\" -q) || true"
|
sh "docker network rm testing-${env.STACK_NAME}_db_1 -f || true"
|
||||||
|
sh "docker network rm testing-${env.STACK_NAME}_db_1 -f || true"
|
||||||
|
sh "docker network rm testing-${env.STACK_NAME}_db_1 -f || true"
|
||||||
|
sh "docker network rm testing-${env.STACK_NAME}_db_1 -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