You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by fm...@apache.org on 2026/04/17 12:21:21 UTC
(camel) branch camel-4.18.x updated: ci: skip enforcer on JDK 17 CI builds to restore build matrix
This is an automated email from the ASF dual-hosted git repository.
fmariani pushed a commit to branch camel-4.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-4.18.x by this push:
new 28a8d5298607 ci: skip enforcer on JDK 17 CI builds to restore build matrix
28a8d5298607 is described below
commit 28a8d5298607c99f226adaca48c726cc6e46b0e7
Author: Croway <fe...@gmail.com>
AuthorDate: Fri Apr 17 10:28:45 2026 +0200
ci: skip enforcer on JDK 17 CI builds to restore build matrix
---
Jenkinsfile | 6 +++---
Jenkinsfile.jbangtest | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index b49f2bab0cc3..d5cd170d3901 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -142,14 +142,14 @@ pipeline {
// Enable virtual threads
sh "./mvnw $MAVEN_PARAMS $MAVEN_TEST_PARAMS_UBUNTU -Darchetype.test.skip -Dmaven.test.failure.ignore=true -Dcheckstyle.skip=true install -Dcamel.threads.virtual.enabled=${params.VIRTUAL_THREAD}"
} else if ("${JDK_NAME}" == "jdk_17_latest") {
- // Enable coverage required later by Sonar check
- sh "./mvnw $MAVEN_PARAMS $MAVEN_TEST_PARAMS -Darchetype.test.skip -Dmaven.test.failure.ignore=true -Dcheckstyle.skip=true install -Pcoverage"
+ // Enable coverage required later by Sonar check; skip enforcer since JDK 21+ is enforced for local builds only
+ sh "./mvnw $MAVEN_PARAMS $MAVEN_TEST_PARAMS -Darchetype.test.skip -Dmaven.test.failure.ignore=true -Dcheckstyle.skip=true -Denforcer.skip=true install -Pcoverage"
} else {
sh "./mvnw $MAVEN_PARAMS $MAVEN_TEST_PARAMS -Darchetype.test.skip -Dmaven.test.failure.ignore=true -Dcheckstyle.skip=true install"
}
} else {
// 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_PARAMS_ALT_ARCHS -Darchetype.test.skip -Dmaven.test.failure.ignore=true -Dcheckstyle.skip=true install -pl '!docs'"
+ sh "./mvnw $MAVEN_PARAMS $MAVEN_TEST_PARAMS $MAVEN_TEST_PARAMS_ALT_ARCHS -Darchetype.test.skip -Dmaven.test.failure.ignore=true -Dcheckstyle.skip=true -Denforcer.skip=true install -pl '!docs'"
echo "Code quality review disabled for ${PLATFORM} with JDK ${JDK_NAME}"
}
}
diff --git a/Jenkinsfile.jbangtest b/Jenkinsfile.jbangtest
index 928c6a9211fc..b8ab56eb055c 100644
--- a/Jenkinsfile.jbangtest
+++ b/Jenkinsfile.jbangtest
@@ -63,8 +63,8 @@ pipeline {
}
steps {
sh "./mvnw $MAVEN_PARAMS -Pdeploy,apache-snapshots -Dquickly clean install"
- sh "./mvnw $MAVEN_PARAMS -f test-infra/camel-test-infra-cli/pom.xml -Pjbang-it-test"
- sh "./mvnw $MAVEN_PARAMS -f dsl/camel-jbang/camel-jbang-it/pom.xml -Pjbang-it-test"
+ sh "./mvnw $MAVEN_PARAMS -Denforcer.skip=true -f test-infra/camel-test-infra-cli/pom.xml -Pjbang-it-test"
+ sh "./mvnw $MAVEN_PARAMS -Denforcer.skip=true -f dsl/camel-jbang/camel-jbang-it/pom.xml -Pjbang-it-test"
}
post {
always {