diff --git a/Jenkinsfile b/Jenkinsfile index 41186f8db..9c35c2f7d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -44,7 +44,7 @@ pipeline { // sh "docker network create testing-salix-5739-dockerrefactor_default" 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 back" - sh "docker-compose -p testing-${env.STACK_NAME} -f docker-compose.test.yml up db" + // sh "docker-compose -p testing-${env.STACK_NAME} -f docker-compose.test.yml up db" } } stage('Test') { @@ -77,10 +77,11 @@ pipeline { environment { NODE_ENV = "" TZ = 'Europe/Madrid' + STACK_NAME_LC="${env.STACK_NAME}".toLowerCase() } steps { sh "docker-compose -p testing-${env.STACK_NAME} -f docker-compose.test.yml rm -s -f" - sh "docker network rm testing-${env.STACK_NAME}_default" + sh "docker network rm testing-${STACK_NAME_LC}_default" } } stage('Build') {