This is an automated email from the ASF dual-hosted git repository.
tzimanyi pushed a commit to branch kiegroup_to_apache
in repository
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-runtimes.git
The following commit(s) were added to refs/heads/kiegroup_to_apache by this
push:
new db7e378ff3 Adapted kiegroup to apache (#3230)
db7e378ff3 is described below
commit db7e378ff31f9ea32c0db1187e607e05f8baff13
Author: Jan Stastny <[email protected]>
AuthorDate: Mon Sep 18 09:54:11 2023 +0200
Adapted kiegroup to apache (#3230)
Co-authored-by: radtriste <[email protected]>
Co-authored-by: jstastny-cz <[email protected]>
---
.ci/jenkins/Jenkinsfile | 2 +-
.ci/jenkins/dsl/jobs.groovy | 6 +-----
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/.ci/jenkins/Jenkinsfile b/.ci/jenkins/Jenkinsfile
index f740ab2fe3..95f83c835e 100644
--- a/.ci/jenkins/Jenkinsfile
+++ b/.ci/jenkins/Jenkinsfile
@@ -8,7 +8,7 @@ pipeline {
}
options {
timestamps()
- timeout(time: '720', unit: 'MINUTES')
+ timeout(time: 360, unit: 'MINUTES')
}
environment {
BUILDCHAIN_PROJECT = 'apache/incubator-kie-kogito-runtimes'
diff --git a/.ci/jenkins/dsl/jobs.groovy b/.ci/jenkins/dsl/jobs.groovy
index 2b0102b32a..abeca6d80e 100644
--- a/.ci/jenkins/dsl/jobs.groovy
+++ b/.ci/jenkins/dsl/jobs.groovy
@@ -29,8 +29,6 @@ Closure setup4AMCronTriggerJobParamsGetter = { script ->
return jobParams
}
-
-
Map getMultijobPRConfig(JenkinsFolder jobFolder) {
String defaultBuildMvnOptsCurrent =
jobFolder.getDefaultEnvVarValue('BUILD_MVN_OPTS_CURRENT') ?: ''
def jobConfig = [
@@ -95,9 +93,7 @@ List getRuntimesBuildMvnOptions(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()
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]