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 8672e0ae842067886e03dee9d83ba5b19215567b
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Mon May 15 14:24:03 2023 +0200

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

diff --git a/Jenkinsfile.s390x b/Jenkinsfile.s390x
index 04acc5e9f4d..015a2e9285e 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-hdfs,!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-consul,!components/camel-salesforce/camel-salesforce-component'"
                 }
             }
             post {
diff --git a/components/camel-hdfs/pom.xml b/components/camel-hdfs/pom.xml
index 3e96dd8890d..8478517d162 100644
--- a/components/camel-hdfs/pom.xml
+++ b/components/camel-hdfs/pom.xml
@@ -158,6 +158,19 @@
                 <skipTests>true</skipTests>
             </properties>
         </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>

Reply via email to