added full path for podman compose file
Some checks failed
DEV-234/pipeline/head There was a failure building this commit
Some checks failed
DEV-234/pipeline/head There was a failure building this commit
This commit is contained in:
parent
5babd91cfa
commit
61897d914d
15
Jenkinsfile
vendored
15
Jenkinsfile
vendored
@ -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
|
||||
"""
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user