This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push: new fac3edbd51e (chores) ci: implement a timeout of 7 hours to prevent tests from hanging indefinitely fac3edbd51e is described below commit fac3edbd51ede55746fc459ac890e5f35a0f3b24 Author: Otavio Rodolfo Piske <angusyo...@gmail.com> AuthorDate: Wed Aug 24 11:35:00 2022 +0200 (chores) ci: implement a timeout of 7 hours to prevent tests from hanging indefinitely --- Jenkinsfile.jdk11 | 4 +++- Jenkinsfile.jdk17 | 4 +++- Jenkinsfile.s390x | 6 ++++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile.jdk11 b/Jenkinsfile.jdk11 index 128686f1556..d678b0ccefd 100644 --- a/Jenkinsfile.jdk11 +++ b/Jenkinsfile.jdk11 @@ -80,7 +80,9 @@ pipeline { stage('Test') { steps { - sh "./mvnw $MAVEN_PARAMS -Dmaven.test.failure.ignore=true -Dcheckstyle.skip=true verify" + timeout(unit: 'HOURS', time: 7) { + sh "./mvnw $MAVEN_PARAMS -Dmaven.test.failure.ignore=true -Dcheckstyle.skip=true verify" + } } post { always { diff --git a/Jenkinsfile.jdk17 b/Jenkinsfile.jdk17 index 68d580c7f0f..4d775cb94a6 100644 --- a/Jenkinsfile.jdk17 +++ b/Jenkinsfile.jdk17 @@ -72,7 +72,9 @@ pipeline { stage('Test') { steps { - sh "./mvnw $MAVEN_PARAMS -Darchetype.test.skip -Dmaven.test.failure.ignore=true -Dcheckstyle.skip=true verify" + timeout(unit: 'HOURS', time: 7) { + sh "./mvnw $MAVEN_PARAMS -Darchetype.test.skip -Dmaven.test.failure.ignore=true -Dcheckstyle.skip=true verify" + } } post { always { diff --git a/Jenkinsfile.s390x b/Jenkinsfile.s390x index 52725ae346f..0e0db55df00 100644 --- a/Jenkinsfile.s390x +++ b/Jenkinsfile.s390x @@ -83,8 +83,10 @@ pipeline { stage('Test') { steps { - // Skip the test case execution of modules which are either not supported on s390x or vendor images are not available for s390x. - sh "./mvnw $MAVEN_PARAMS $MAVEN_TEST_PARAMS $MAVEN_TEST_LIMIT_PARAMS -Dmaven.test.failure.ignore=true -Dcheckstyle.skip=true verify -pl '!docs,!components/camel-kudu,!components/camel-djl,!components/camel-consul,!components/camel-pulsar,!components/camel-xmpp,!components/camel-google/camel-google-pubsub,!components/camel-hdfs,!components/camel-vertx/camel-vertx-kafka/camel-vertx-kafka-component,!components/camel-zookeeper,!components/camel-zookeeper-master'" + timeout(unit: 'HOURS', time: 7) { + // Skip the test case execution of modules which are either not supported on s390x or vendor images are not available for s390x. + sh "./mvnw $MAVEN_PARAMS $MAVEN_TEST_PARAMS $MAVEN_TEST_LIMIT_PARAMS -Dmaven.test.failure.ignore=true -Dcheckstyle.skip=true verify -pl '!docs,!components/camel-kudu,!components/camel-djl,!components/camel-consul,!components/camel-pulsar,!components/camel-xmpp,!components/camel-google/camel-google-pubsub,!components/camel-hdfs,!components/camel-vertx/camel-vertx-kafka/camel-vertx-kafka-component,!components/camel-zookeeper,!components/camel-zookeeper-master'" + } } post { always {