From 85a8ad86c6053b48c67a20c3ef2f210ba89cf90c Mon Sep 17 00:00:00 2001 From: Nicolas Arenas Date: Wed, 23 Oct 2024 01:27:04 +0200 Subject: [PATCH] Running test --- Jenkinsfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index b9c101f..f38f0bb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -54,11 +54,6 @@ pipeline { """ } } - stage ("Stop containers") { - steps { - sh "docker compose -f ${DOCKER_COMPOSE_FILE} down" - } - } stage('Tests') { steps { // Run tests @@ -71,6 +66,7 @@ pipeline { stage ("Delete Image") { steps { script { + sh "docker compose -f ${DOCKER_COMPOSE_FILE} down" sh "docker rmi ${DOCKER_IDENTITY}" sh "docker rmi ${DOCKER_IDENTITY_NGINX}" }