From 9884532c1f7f80c27c5fe6f0537de5b1cea506d1 Mon Sep 17 00:00:00 2001 From: Francia Csaba Date: Wed, 12 Jun 2024 14:45:05 +0200 Subject: [PATCH] Build docker image on dev branch --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 11e6b50..89bc20a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -51,7 +51,7 @@ pipeline { } stage('Build docker image') { when { - branch 'main' + anyOf { branch 'main'; branch 'dev' } } steps { echo 'Building image' @@ -62,7 +62,7 @@ pipeline { } stage('Push image to container registry') { when { - branch 'main' + anyOf { branch 'main'; branch 'dev' } } steps { echo 'Pushing image to registry'