From 05a76217ede801c28b4b2f6e5d281c9acf62959d Mon Sep 17 00:00:00 2001 From: Kameron Kenny Date: Mon, 24 Feb 2025 21:30:52 -0500 Subject: [PATCH] fix jenkinsfile --- Jenkinsfile | 4 ++-- docker-compose.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0ffff33..38f3167 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -74,7 +74,7 @@ pipeline { def status = sh(returnStatus: true, script: 'grep $(docker --context pi502 compose ps | tail -n1 | awk \'{ print $2 }\') docker-compose.yml') if (status != 0) { - sh 'docker --context compose pi502 down' + sh 'docker --context pi502 compose down' sh 'sleep 5' } else { echo 'skip' @@ -106,7 +106,7 @@ pipeline { def status = sh(returnStatus: true, script: 'grep $(docker --context pi503 compose ps | tail -n1 | awk \'{ print $2 }\') docker-compose.yml') if (status != 0) { - sh 'docker --context compose pi503 down' + sh 'docker --context pi503 compose down' sh 'sleep 5' } else { echo 'skip' diff --git a/docker-compose.yml b/docker-compose.yml index fb9790c..339cebe 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,7 @@ services: build: dockerfile: Dockerfile container_name: pihole1 - image: docker-registry1.in.thelinuxpro.net:5000/tlp/pihole1:250224.0.4 + image: docker-registry1.in.thelinuxpro.net:5000/tlp/pihole1:250224.0.5 restart: unless-stopped environment: TZ: 'America/Indianapolis' @@ -30,7 +30,7 @@ services: build: dockerfile: Dockerfile container_name: pihole2 - image: docker-registry1.in.thelinuxpro.net:5000/tlp/pihole2:250224.0.4 + image: docker-registry1.in.thelinuxpro.net:5000/tlp/pihole2:250224.0.5 restart: unless-stopped environment: TZ: 'America/Indianapolis' @@ -50,7 +50,7 @@ services: build: dockerfile: Dockerfile container_name: pihole3 - image: docker-registry1.in.thelinuxpro.net:5000/tlp/pihole3:250224.0.4 + image: docker-registry1.in.thelinuxpro.net:5000/tlp/pihole3:250224.0.5 restart: unless-stopped environment: TZ: 'America/Indianapolis'