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 <[email protected]>
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 <[email protected]>
---
.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: [email protected]
For additional commands, e-mail: [email protected]