You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by js...@apache.org on 2023/10/26 10:43:17 UTC
[incubator-kie-kogito-examples] branch main updated: kie-issues#650: increase timeout for default nightly (#1819)
This is an automated email from the ASF dual-hosted git repository.
jstastnycz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-kogito-examples.git
The following commit(s) were added to refs/heads/main by this push:
new e04af111e kie-issues#650: increase timeout for default nightly (#1819)
e04af111e is described below
commit e04af111e8903c27f22c1b79dff3ec17abe6ced1
Author: Jan Stastny <st...@gmail.com>
AuthorDate: Thu Oct 26 12:43:13 2023 +0200
kie-issues#650: increase timeout for default nightly (#1819)
* kie-issues#650: increase timeout for default nightly
* fix DSL tests GHA
---------
Co-authored-by: jstastny-cz <ja...@ibm.com>
---
.ci/jenkins/dsl/jobs.groovy | 8 +++++++-
.github/workflows/pr-jenkins.yml | 2 +-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/.ci/jenkins/dsl/jobs.groovy b/.ci/jenkins/dsl/jobs.groovy
index e3fa748b2..44067f864 100644
--- a/.ci/jenkins/dsl/jobs.groovy
+++ b/.ci/jenkins/dsl/jobs.groovy
@@ -96,8 +96,14 @@ Closure setup4AMCronTriggerJobParamsGetter = { script ->
jobParams.triggers = [ cron: 'H 4 * * *' ]
return jobParams
}
+Closure setupAdditionalTimeoutForDefaultNightly = { script ->
+ def jobParams = JobParamsUtils.DEFAULT_PARAMS_GETTER(script)
+ jobParams.env.put('ADDITIONAL_TIMEOUT', '480')
+ return jobParams
+}
+
Closure nightlyJobParamsGetter = isMainStream() ? JobParamsUtils.DEFAULT_PARAMS_GETTER : setup4AMCronTriggerJobParamsGetter
-KogitoJobUtils.createNightlyBuildChainBuildAndDeployJobForCurrentRepo(this, '', true)
+KogitoJobUtils.createNightlyBuildChainBuildAndDeployJobForCurrentRepo(this, '', true, setupAdditionalTimeoutForDefaultNightly)
setupSpecificBuildChainNightlyJob('native', nightlyJobParamsGetter)
setupNightlyQuarkusIntegrationJob('quarkus-main', nightlyJobParamsGetter)
setupNightlyQuarkusIntegrationJob('quarkus-branch', nightlyJobParamsGetter)
diff --git a/.github/workflows/pr-jenkins.yml b/.github/workflows/pr-jenkins.yml
index 591c1d79a..79c7fcc85 100644
--- a/.github/workflows/pr-jenkins.yml
+++ b/.github/workflows/pr-jenkins.yml
@@ -16,7 +16,7 @@ jobs:
name: DSL
steps:
- name: DSL tests
- uses: kiegroup/kie-ci/.ci/actions/dsl-tests@main
+ uses: apache/incubator-kie-kogito-pipelines/.ci/actions/dsl-tests@main
with:
main-config-file-repo: apache/incubator-kie-kogito-pipelines
main-config-file-path: .ci/jenkins/config/main.yaml
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org