added full path for podman compose file
Some checks failed
DEV-234/pipeline/head There was a failure building this commit

This commit is contained in:
greenamber676 2025-01-09 20:52:28 -05:00
parent 5babd91cfa
commit 61897d914d

15
Jenkinsfile vendored
View File

@ -37,7 +37,10 @@ pipeline {
steps {
script {
// Run tests using Docker Compose
sh "podman-compose -f '/home/v/projects/p00003/podman-compose.yml' --dry-run up"
sh """
#!/bin/bash
podman-compose -f /home/v/projects/p00003/podman-compose-yml --dry-run up
"""
}
}
}
@ -46,7 +49,10 @@ pipeline {
steps {
script {
// Deploy using Docker Compose
sh "podman-compose -f ${DOCKER_COMPOSE_FILE} up -d"
sh """
#!/bin/bash
podman-compose -f /home/v/projects/p00003/podman-compose-yml up -d
"""
}
}
}
@ -55,7 +61,10 @@ pipeline {
post {
always {
// Clean up Docker containers and images
sh 'podman-compose -f ${DOCKER_COMPOSE_FILE} down'
sh """
#!/bin/bash
podman-compose -f /home/v/projects/p00003/podman-compose-yml --dry-run up
"""
}
}
}