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:42:59 UTC

[incubator-kie-kogito-apps] branch main updated: kie-issues#650: increase timeout for default nightly (#1904)

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-apps.git


The following commit(s) were added to refs/heads/main by this push:
     new 8bb1811d9 kie-issues#650: increase timeout for default nightly (#1904)
8bb1811d9 is described below

commit 8bb1811d9f704d67d8226250ccc07a61eb3cc998
Author: Jan Stastny <st...@gmail.com>
AuthorDate: Thu Oct 26 12:42:55 2023 +0200

    kie-issues#650: increase timeout for default nightly (#1904)
    
    * 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 921032788..635d2f631 100644
--- a/.ci/jenkins/dsl/jobs.groovy
+++ b/.ci/jenkins/dsl/jobs.groovy
@@ -118,8 +118,14 @@ Closure setup4AMCronTriggerJobParamsGetter = { script ->
     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('sonarcloud', nightlyJobParamsGetter)
 setupSpecificBuildChainNightlyJob('native', nightlyJobParamsGetter)
 setupNightlyQuarkusIntegrationJob('quarkus-main', nightlyJobParamsGetter)
diff --git a/.github/workflows/pr-jenkins.yml b/.github/workflows/pr-jenkins.yml
index b79e927dd..454e55ae6 100644
--- a/.github/workflows/pr-jenkins.yml
+++ b/.github/workflows/pr-jenkins.yml
@@ -35,7 +35,7 @@ jobs:
     name: DSL
     steps:
     - name: DSL tests
-      uses: apache/incubator-kie-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