clean up JenkinsFile
Some checks failed
DEV-234/pipeline/head There was a failure building this commit

This commit is contained in:
greenamber676 2025-01-10 08:49:01 -05:00
parent 745ab688a2
commit df00b0020b

9
Jenkinsfile vendored
View File

@ -41,8 +41,6 @@ pipeline {
sh """
echo 'testing'
pwd
cd /home/v/projects/p00003
pwd
ls
podman-compose -f podman-compose.yml build
podman-compose -f podman-compose.yml up --abort-on-container-exit
@ -56,9 +54,8 @@ pipeline {
script {
// Deploy using Docker Compose
sh """
#!/bin/bash
echo 'deploying'
podman-compose up -d
podman-compose -f podman-compose.yml up -d
"""
}
}
@ -70,8 +67,8 @@ pipeline {
// Clean up Docker containers and images
sh """
#!/bin/bash
podman-compose down
podman-compose -f podman-compose.yml down
"""
}
}
}
}