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 """ } }