From 7c2d72f17ecdc3f525201380efeeb843587b95a9 Mon Sep 17 00:00:00 2001 From: Jan Stastny Date: Mon, 18 Sep 2023 10:00:34 +0200 Subject: [PATCH] PR multibranchPipelineJob (#1700) (#1701) Co-authored-by: jstastny-cz --- .ci/jenkins/dsl/jobs.groovy | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.ci/jenkins/dsl/jobs.groovy b/.ci/jenkins/dsl/jobs.groovy index b129a48e1..fb18ed05f 100644 --- a/.ci/jenkins/dsl/jobs.groovy +++ b/.ci/jenkins/dsl/jobs.groovy @@ -17,8 +17,7 @@ import org.kie.jenkins.jobdsl.Utils jenkins_path = '.ci/jenkins' // PR checks -// TODO create PR job with branch source plugin -// setupPrJob() +Utils.isMainBranch(this) && KogitoJobTemplate.createPullRequestMultibranchPipelineJob(this, "${jenkins_path}/Jenkinsfile") // Init branch createSetupBranchJob()