From 482cac2349a93e8182faed1048cbfeec5bd49f56 Mon Sep 17 00:00:00 2001 From: jstastny-cz Date: Tue, 12 Sep 2023 13:52:41 +0200 Subject: [PATCH] PR multibranchPipelineJob --- .ci/jenkins/dsl/jobs.groovy | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.ci/jenkins/dsl/jobs.groovy b/.ci/jenkins/dsl/jobs.groovy index 3fd7968a24..41f0147b80 100644 --- a/.ci/jenkins/dsl/jobs.groovy +++ b/.ci/jenkins/dsl/jobs.groovy @@ -192,9 +192,7 @@ Map getMultijobPRConfig(JenkinsFolder jobFolder) { } // Optaplanner PR checks -// Deactivated due to ghprb not available on Apache Jenkins -// TODO create PR job with branch source plugin -// KogitoJobUtils.createAllEnvironmentsPerRepoPRJobs(this) { jobFolder -> getMultijobPRConfig(jobFolder) } +Utils.isMainBranch(this) && KogitoJobTemplate.createPullRequestMultibranchPipelineJob(this, "${jenkins_path}/Jenkinsfile") // Setup branch branch createSetupBranchJob()