From 5604423de0fcf3c023f5a4afbfe136e33b6218a0 Mon Sep 17 00:00:00 2001 From: alexm Date: Fri, 12 Jan 2024 11:41:07 +0100 Subject: [PATCH] refs #5739 feat: try run test back and front --- Jenkinsfile | 2 ++ runTestBack.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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