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 +}