This is an automated email from the ASF dual-hosted git repository. Croway pushed a commit to branch camel-spring-boot-4.22.x in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
commit 75e5068250b8271ce1673f629ea6cb30e3fb44a0 Author: Aurélien Pupier <[email protected]> AuthorDate: Thu Sep 17 14:41:28 2026 +0200 CAMEL-24290 - avoid jenkins build bad interaction the Camel core build needs to clear the org/apache/camel local .m2 repository. In case, it happens during the spring build is happeining, both tof the build can fail: with this kind of error on Camel Spring Boot side: ``` org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project camel-itest-spring-boot-farjar: Could not resolve dependencies for project org.apache.camel.springboot:camel-itest-spring-boot-farjar:jar:4.23.0-SNAPSHOT dependency: org.apache.camel:camel-test-spring-junit6:jar:4.23.0-SNAPSHOT (test) Could not find artifact org.apache.camel:camel-test-spring-junit6:jar:4.23.0-SNAPSHOT ``` with this kind of error on Camel core side: ``` + [ -d /home/jenkins/.m2/repository/org/apache/camel ] + rm -rf /home/jenkins/.m2/repository/org/apache/camel rm: cannot remove '/home/jenkins/.m2/repository/org/apache/camel': Directory not empty ``` Signed-off-by: Aurélien Pupier <[email protected]> (cherry picked from commit ccd95746c7c121517cd8f6759fe91f0eff3c0144) --- Jenkinsfile.sb | 9 +++++++++ Jenkinsfile.sb.ppc64le | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/Jenkinsfile.sb b/Jenkinsfile.sb index c3174c1ebc6..bca674c38ef 100644 --- a/Jenkinsfile.sb +++ b/Jenkinsfile.sb @@ -48,6 +48,12 @@ pipeline { logRotator(artifactNumToKeepStr: '5', numToKeepStr: '10') ) disableConcurrentBuilds() + throttleJobProperty( + categories: ['camel'], + throttleEnabled: true, + throttleOption: 'category', + maxConcurrentPerNode: 1 + ) } parameters { @@ -66,6 +72,9 @@ pipeline { } stage('Build') { + options { + throttle(['camel']) + } steps { script { spring_boot_itests_result = sh script: "./mvnw $MAVEN_PARAMS -Dci.env.name=apache.org -Dmaven.test.failure.ignore=true clean install", returnStatus: true diff --git a/Jenkinsfile.sb.ppc64le b/Jenkinsfile.sb.ppc64le index 45646d9c6c0..e56aef66689 100644 --- a/Jenkinsfile.sb.ppc64le +++ b/Jenkinsfile.sb.ppc64le @@ -48,6 +48,12 @@ pipeline { logRotator(artifactNumToKeepStr: '5', numToKeepStr: '10') ) disableConcurrentBuilds() + throttleJobProperty( + categories: ['camel'], + throttleEnabled: true, + throttleOption: 'category', + maxConcurrentPerNode: 1 + ) } parameters { @@ -66,6 +72,9 @@ pipeline { } stage('Build') { + options { + throttle(['camel']) + } steps { script { spring_boot_itests_result = sh script: "./mvnw $MAVEN_PARAMS -Dci.env.name=apache.org -Dmaven.test.failure.ignore=true clean install", returnStatus: true
