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 2023/05/15 15:18:24 UTC

[camel] 11/17: (chores) CI s390x: cleanup disabling consul tests on the platform

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 0dc019bca2e5cb5db61452dfc5002bdbf9a20a99
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Mon May 15 14:24:24 2023 +0200

    (chores) CI s390x: cleanup disabling consul tests on the platform
---
 Jenkinsfile.s390x               |  2 +-
 components/camel-consul/pom.xml | 13 +++++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile.s390x b/Jenkinsfile.s390x
index 015a2e9285e..6be68a0cc96 100644
--- a/Jenkinsfile.s390x
+++ b/Jenkinsfile.s390x
@@ -85,7 +85,7 @@ pipeline {
             steps {
                 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 -Darchetype.test.skip -Dmaven.test.failure.ignore=true -Dcheckstyle.skip=true verify -pl '!docs,!components/camel-consul,!components/camel-salesforce/camel-salesforce-component'"
+                    sh "./mvnw $MAVEN_PARAMS $MAVEN_TEST_PARAMS $MAVEN_TEST_LIMIT_PARAMS -Darchetype.test.skip -Dmaven.test.failure.ignore=true -Dcheckstyle.skip=true verify -pl '!docs,!components/camel-salesforce/camel-salesforce-component'"
                 }
             }
             post {
diff --git a/components/camel-consul/pom.xml b/components/camel-consul/pom.xml
index c3ad69308ca..9be55c2e2de 100644
--- a/components/camel-consul/pom.xml
+++ b/components/camel-consul/pom.xml
@@ -179,6 +179,19 @@
                 </plugins>
             </build>
         </profile>
+        <profile>
+            <!-- Disable tests not available on platform -->
+            <id>s390x</id>
+            <activation>
+                <os>
+                    <arch>s390x</arch>
+                </os>
+            </activation>
+            <properties>
+                <skipTests>true</skipTests>
+                <skipITs>true</skipITs>
+            </properties>
+        </profile>
     </profiles>
 
 </project>