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 f77a15e4c063840bd0ec250a70649fef1746b456
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Mon May 15 13:29:34 2023 +0200

    (chores) camel-djl: cleanup disabling tests on platforms where it's not 
available
---
 Jenkinsfile.ppc64le          |  2 +-
 components/camel-djl/pom.xml | 16 ++++++++++++++++
 2 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile.ppc64le b/Jenkinsfile.ppc64le
index 3ab4361d42f..2825ad5ee9f 100644
--- a/Jenkinsfile.ppc64le
+++ b/Jenkinsfile.ppc64le
@@ -85,7 +85,7 @@ pipeline {
             steps {
                 timeout(unit: 'HOURS', time: 7) {
                     // Skip the test case execution of modules which are 
either not supported on ppc64le or vendor images are not available for ppc64le.
-                    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-djl,!components/camel-xmpp,!components/camel-google/camel-google-pubsub,!components/camel-hdfs,!components/camel-zookeeper,!components/camel-zookeeper-master'"
+                    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-xmpp,!components/camel-google/camel-google-pubsub,!components/camel-hdfs,!components/camel-zookeeper,!components/camel-zookeeper-master'"
                 }
             }
             post {
diff --git a/components/camel-djl/pom.xml b/components/camel-djl/pom.xml
index 3d3d2b8cc86..ee3dbcb0015 100644
--- a/components/camel-djl/pom.xml
+++ b/components/camel-djl/pom.xml
@@ -129,4 +129,20 @@
         </dependency>
     </dependencies>
 
+    <profiles>
+        <profile>
+            <!-- DJL components are only available for Linux on x86 64 -->
+            <id>Notx86</id>
+            <activation>
+                <os>
+                    <arch>!amd64</arch>
+                </os>
+            </activation>
+            <properties>
+                <skipTests>true</skipTests>
+                <skipITs>true</skipITs>
+            </properties>
+        </profile>
+    </profiles>
+
 </project>

Reply via email to