refs #5739 feat: try run test back and front
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
40afa1083c
commit
1351f303e1
|
@ -44,7 +44,7 @@ pipeline {
|
||||||
// sh "docker network create testing-salix-5739-dockerrefactor_default"
|
// 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 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 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') {
|
stage('Test') {
|
||||||
|
@ -77,10 +77,11 @@ pipeline {
|
||||||
environment {
|
environment {
|
||||||
NODE_ENV = ""
|
NODE_ENV = ""
|
||||||
TZ = 'Europe/Madrid'
|
TZ = 'Europe/Madrid'
|
||||||
|
STACK_NAME_LC="${env.STACK_NAME}".toLowerCase()
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh "docker-compose -p testing-${env.STACK_NAME} -f docker-compose.test.yml rm -s -f"
|
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') {
|
stage('Build') {
|
||||||
|
|
Loading…
Reference in New Issue