diff --git a/Jenkinsfile b/Jenkinsfile index 5496353c7..2a9df8d4d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -39,6 +39,8 @@ pipeline { NODE_ENV = "" } steps { + sh "docker-compose -p testing-${env.STACK_NAME} -f docker-compose.test.yml down" + sh "docker-compose -p testing-${env.STACK_NAME} -f docker-compose.test.yml rm" sh "docker-compose -p testing-${env.STACK_NAME} -f docker-compose.test.yml build --force-rm db" } } diff --git a/runTestBack.sh b/runTestBack.sh index 786627ccd..3ad4c77d0 100644 --- a/runTestBack.sh +++ b/runTestBack.sh @@ -1,5 +1,5 @@ # docker-compose -p salix-testing -f docker-compose.test.yml build --no-cache --force-rm db -docker-compose -p salix-testing -f docker-compose.test.yml build --force-rm back +docker-compose -p salix-testing -f docker-compose.test.yml build --force-rm back db docker-compose -p salix-testing -f docker-compose.test.yml run --rm back docker-compose -p salix-testing -f docker-compose.test.yml down docker-compose -p salix-testing -f docker-compose.test.yml rm