From 9440b7ab4458e630877b4f7f76f1948427d054f1 Mon Sep 17 00:00:00 2001 From: jstastny-cz Date: Tue, 12 Sep 2023 13:13:24 +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 4a54ac4912..34a9da7540 100644 --- a/.ci/jenkins/dsl/jobs.groovy +++ b/.ci/jenkins/dsl/jobs.groovy @@ -88,9 +88,7 @@ boolean isNative(JenkinsFolder jobFolder) { } // 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") // Init branch createSetupBranchJob()