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 4049226de6a4e64a33b9ca484c559330a182f407 Author: Nayana Thorat <[email protected]> AuthorDate: Tue May 31 01:46:14 2022 +0530 Update Jenkinsfile.s390x --- Jenkinsfile.s390x | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile.s390x b/Jenkinsfile.s390x index 5ae225f1b84..eaf86911882 100644 --- a/Jenkinsfile.s390x +++ b/Jenkinsfile.s390x @@ -54,10 +54,7 @@ pipeline { expression { params.CLEAN } } steps { - sh 'git clean -fdx' - // Remove camel-kudu and docs as these are not supported on s390x. - sed -i '/camel-kudu/d' components/pom.xml - sed -i '0,/docs/{//d;}' pom.xml + sh 'git clean -fdx' } } @@ -66,7 +63,8 @@ pipeline { branch 'main' } steps { - sh "./mvnw -U $MAVEN_PARAMS -Dmaven.test.skip.exec=true clean deploy" + // Remove camel-kudu and docs as these are not supported on s390x. + sh "./mvnw -U $MAVEN_PARAMS -Dmaven.test.skip.exec=true clean deploy -pl \!docs,\!components/camel-kudu" } } @@ -78,7 +76,8 @@ pipeline { stage('Test') { steps { - sh "./mvnw $MAVEN_PARAMS -Dmaven.test.failure.ignore=true -Dcheckstyle.skip=true verify" + // Remove camel-kudu and docs as these are not supported on s390x. + sh "./mvnw $MAVEN_PARAMS -Dmaven.test.failure.ignore=true -Dcheckstyle.skip=true verify -pl \!docs,\!components/camel-kudu" } post { always {
