From df00b0020bf95ba47229b58f829db6931b15e839 Mon Sep 17 00:00:00 2001 From: greenamber676 Date: Fri, 10 Jan 2025 08:49:01 -0500 Subject: [PATCH] clean up JenkinsFile --- Jenkinsfile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c3e5dd5..51b2335 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -41,8 +41,6 @@ pipeline { sh """ echo 'testing' pwd - cd /home/v/projects/p00003 - pwd ls podman-compose -f podman-compose.yml build podman-compose -f podman-compose.yml up --abort-on-container-exit @@ -56,9 +54,8 @@ pipeline { script { // Deploy using Docker Compose sh """ - #!/bin/bash echo 'deploying' - podman-compose up -d + podman-compose -f podman-compose.yml up -d """ } } @@ -70,8 +67,8 @@ pipeline { // Clean up Docker containers and images sh """ #!/bin/bash - podman-compose down + podman-compose -f podman-compose.yml down """ } } -} \ No newline at end of file +}