From 580cece07bfe4880013b3053763a088abae0ee1d Mon Sep 17 00:00:00 2001 From: = Date: Sat, 18 Jan 2025 11:13:45 -0500 Subject: [PATCH] change last step Jenkins --- Jenkinsfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 562a6c1..4d9dadf 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -44,6 +44,7 @@ pipeline { script { // Deploy using Docker Compose sh """ + podman-compose down echo 'deploying' podman-compose -f podman-compose.yml up -d """ @@ -56,10 +57,8 @@ pipeline { always { sh """ - echo 'End of run.' + echo 'End of run. API has restarted' podman ps - podman-compose -f podman-compose.yml down - podman ps """ } }