From c8686d05fad6b40cd329f852dbafc5f34025fe28 Mon Sep 17 00:00:00 2001 From: jstastny-cz Date: Mon, 18 Sep 2023 17:31:55 +0200 Subject: [PATCH] test4 --- .../groovy/org/kie/jenkins/jobdsl/KogitoJobTemplate.groovy | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dsl/seed/src/main/groovy/org/kie/jenkins/jobdsl/KogitoJobTemplate.groovy b/dsl/seed/src/main/groovy/org/kie/jenkins/jobdsl/KogitoJobTemplate.groovy index f6b8f11ee..b8417aacc 100644 --- a/dsl/seed/src/main/groovy/org/kie/jenkins/jobdsl/KogitoJobTemplate.groovy +++ b/dsl/seed/src/main/groovy/org/kie/jenkins/jobdsl/KogitoJobTemplate.groovy @@ -502,8 +502,10 @@ class KogitoJobTemplate { buildOriginPRMerge(true) } } - properties { - "BRANCH=${Utils.getGitMainBranch(script)}" + properties { """ +BRANCH=${Utils.getGitMainBranch(script)} +GENERATION_BRANCH=${Utils.getGenerationBranch(script)} +""" } orphanedItemStrategy { discardOldItems {