change last step Jenkins
All checks were successful
DEV-234/pipeline/head This commit looks good

This commit is contained in:
= 2025-01-18 11:13:45 -05:00
parent 0afc28c616
commit 580cece07b

5
Jenkinsfile vendored
View File

@ -44,6 +44,7 @@ pipeline {
script { script {
// Deploy using Docker Compose // Deploy using Docker Compose
sh """ sh """
podman-compose down
echo 'deploying' echo 'deploying'
podman-compose -f podman-compose.yml up -d podman-compose -f podman-compose.yml up -d
""" """
@ -56,9 +57,7 @@ pipeline {
always { always {
sh """ sh """
echo 'End of run.' echo 'End of run. API has restarted'
podman ps
podman-compose -f podman-compose.yml down
podman ps podman ps
""" """
} }