diff --git a/Jenkinsfile b/Jenkinsfile index d245303..2ad2ef4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 + """ } } } \ No newline at end of file