From 16226d4a9bc6daf21b9a636334f9fcf450f12fcb Mon Sep 17 00:00:00 2001 From: ABDELKABIR ELHAMOUSSI <83447471+abdeLKabir-56@users.noreply.github.com> Date: Sat, 25 May 2024 16:42:49 +0100 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index a3a3a4aa..57830281 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -83,10 +83,9 @@ pipeline { post { always { script { - // Cleanup workspace and Docker containers - cleanWs() - bat 'docker-compose down' + bat 'docker-compose -f C:/Users/info/Desktop/social_media_blog_platform_project/docker-compose.yml down' } + cleanWs() // Clean up the workspace } success { echo 'Build, Docker image push, and deployment successful!'