You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2022/06/14 14:21:44 UTC

[camel] 01/03: Update Jenkinsfile.s390x

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

commit 6e9076a95d4f90382c0f262a6a2373caacad3d3f
Author: Nayana Thorat <nt...@us.ibm.com>
AuthorDate: Tue Jun 14 17:31:08 2022 +0530

    Update Jenkinsfile.s390x
---
 Jenkinsfile.s390x | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/Jenkinsfile.s390x b/Jenkinsfile.s390x
index 2eecc506f05..e643dbf6fc6 100644
--- a/Jenkinsfile.s390x
+++ b/Jenkinsfile.s390x
@@ -22,6 +22,8 @@ def JDK_NAME = env.JDK_NAME ?: 'jdk_11_latest'
 
 def MAVEN_PARAMS = "-B -e -fae -V -Dnoassembly -Dmaven.compiler.fork=true -Dsurefire.rerunFailingTestsCount=2"
 def MAVEN_TEST_PARAMS = "-Dkafka.instance.type=local-strimzi-container"
+// Below paramteres needed for core/camel-core module
+def MAVEN_TEST_LIMIT_PARAMS = "-Djdk.xml.xpathExprGrpLimit=100 -Djdk.xml.xpathExprOpLimit=2000"   
 
 pipeline {
 
@@ -64,7 +66,7 @@ pipeline {
                 branch 'main'
             }
             steps {
-                // Remove camel-kudu and docs as these are not supported on s390x.
+                // Skip modules camel-kudu and docs as these are not supported on s390x.
                 sh "./mvnw -U $MAVEN_PARAMS -Dmaven.test.skip.exec=true clean install -pl '!docs,!components/camel-kudu,!components/camel-djl'"
             }
         }
@@ -77,8 +79,8 @@ pipeline {
 
         stage('Test') {
             steps {
-                // Remove camel-kudu and docs as these are not supported on s390x.
-                sh "./mvnw $MAVEN_PARAMS $MAVEN_TEST_PARAMS -Dmaven.test.failure.ignore=true -Dcheckstyle.skip=true verify -pl '!docs,!components/camel-kudu,!components/camel-djl'"
+                // Skip the test case execution of modules which are either not supported on s390x or vendor images are not 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 {