diff --git a/Jenkinsfile b/Jenkinsfile index eb1a930..84ba802 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -40,7 +40,13 @@ pipeline { } if (status_d != 0) { - sh 'docker compose build pubdnsdist --push' + sh 'docker compose build pubdnsdist1 --push' + } else { + echo "pubdnsdist Image version already exists, no need to rebuild." + } + + if (status_d != 0) { + sh 'docker compose build pubdnsdist2 --push' } else { echo "pubdnsdist Image version already exists, no need to rebuild." }