From e39890e68c1cd1da34eca444050a4105b58e4d5a Mon Sep 17 00:00:00 2001 From: Kameron Kenny Date: Tue, 25 Feb 2025 14:25:03 -0500 Subject: [PATCH] fix build --- Jenkinsfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 481ff0f..eb1a930 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -28,7 +28,13 @@ pipeline { } if (status_s != 0) { - sh 'docker compose build secondary --push' + sh 'docker compose build secondary1 --push' + } else { + echo "Secondary Image version already exists, no need to rebuild." + } + + if (status_s != 0) { + sh 'docker compose build secondary2 --push' } else { echo "Secondary Image version already exists, no need to rebuild." }