From 85704ec7b94fefe6d44ac427cf9d6d429ea8c41d Mon Sep 17 00:00:00 2001 From: greenamber676 Date: Thu, 9 Jan 2025 21:16:49 -0500 Subject: [PATCH] typo --- Jenkinsfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 """ } }