diff --git a/Jenkinsfile b/Jenkinsfile index 8f15b46..225eb99 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,7 +4,8 @@ pipeline { environment { DOCKER_IMAGE_PGADMIN = 'dpage/pgadmin4:latest' DOCKER_IMAGE_POSTGRES = 'postgres:16.6' - DOCKER_COMPOSE_FILE = '/home/v/projects/p00003/podman-compose.yml' + PODMAN_COMPOSE_PATH = '/home/v/projects/p00003/' + DOCKER_COMPOSE_FILE = 'podman-compose.yml' } stages { @@ -38,9 +39,9 @@ pipeline { script { // Run tests using Docker Compose sh """ - #!/bin/bash echo 'testing' - podman-compose up + podman-compose -f ${PODMAN_COMPOSE_PATH}${PODMAN_COMPOSE_FILE} build + podman-compose -f ${PODMAN_COMPOSE_PATH}${PODMAN_COMPOSE_FILE} up --abort-on-container-exit """ } }