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:25 UTC

[camel] 12/17: (chores) CI s390x: cleanup disabling salesforce-component 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 fb2ca20fa961d7fd6e1c3c4399e439fe2ab8ebea
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Mon May 15 14:27:03 2023 +0200

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

diff --git a/Jenkinsfile.s390x b/Jenkinsfile.s390x
index 6be68a0cc96..c7937c7798d 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-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'"
                 }
             }
             post {
diff --git a/components/camel-salesforce/camel-salesforce-component/pom.xml b/components/camel-salesforce/camel-salesforce-component/pom.xml
index a7430d79d49..f3adae4b35b 100644
--- a/components/camel-salesforce/camel-salesforce-component/pom.xml
+++ b/components/camel-salesforce/camel-salesforce-component/pom.xml
@@ -499,5 +499,18 @@ https://developer.salesforce.com/page/Force.com_Migration_Tool]]></message>
                 </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>