From 46cb8bc10710a049bc26ac70aee17391abe8e5d8 Mon Sep 17 00:00:00 2001 From: Jan Stastny Date: Wed, 13 Sep 2023 21:07:00 +0200 Subject: [PATCH] PR multibranchPipelineJob (#1700) 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 b019fb491..2deb7ee41 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()