From 9225383ac379406e36c8f9d4acb69cbb70c54051 Mon Sep 17 00:00:00 2001 From: Shubham Londhe Date: Sun, 3 Mar 2024 12:16:55 +0530 Subject: [PATCH] Update Jenkinsfile --- DevSecOps/Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DevSecOps/Jenkinsfile b/DevSecOps/Jenkinsfile index b6024641d..52ab13813 100644 --- a/DevSecOps/Jenkinsfile +++ b/DevSecOps/Jenkinsfile @@ -56,7 +56,7 @@ pipeline { } stage("Deploy"){ steps{ - sh "docker-compose up -d" + sh "docker-compose down && docker-compose up -d" echo "App Deployed Successfully" } }