This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch 3.8.x
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit dc05bf412ae634078985c9433d533f15ffc924b3
Author: Quan Tran <[email protected]>
AuthorDate: Wed Nov 12 09:56:44 2025 +0700

    [BUILD] Fix docker client API issue
    
    Docker v29 introduces a breaking change in the client API requirement: 
https://docs.docker.com/engine/release-notes/29/#breaking-changes
    
    This introduces an issue with testcontainers cf 
https://github.com/testcontainers/testcontainers-java/issues/11212
    
    CI builds failed because of this: `client version 1.32 is too old. Minimum 
supported API version is 1.44, please upgrade your client to a newer version`.
    
    In the time waiting for a new release of testcontainers, we can apply the 
recommended workaround to enforce client version to required v1.44.
---
 Jenkinsfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 2e0293778d..9947ead368 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -92,7 +92,7 @@ pipeline {
         stage('Stable Tests') {
             steps {
                 echo 'Running tests'
-                sh 'mvn -B -e -fae test ${MVN_SHOW_TIMESTAMPS} -P ci-test 
${MVN_LOCAL_REPO_OPT} -Dassembly.skipAssembly=true 
jacoco:report-aggregate@jacoco-report'
+                sh 'mvn -B -e -fae test ${MVN_SHOW_TIMESTAMPS} -P ci-test 
${MVN_LOCAL_REPO_OPT} -Dassembly.skipAssembly=true -Dapi.version=1.44 
jacoco:report-aggregate@jacoco-report'
             }
             post {
                 always {
@@ -113,7 +113,7 @@ pipeline {
             steps {
                 echo 'Running unstable tests'
                 catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
-                    sh 'mvn -B -e -fae test -Punstable-tests 
${MVN_SHOW_TIMESTAMPS} -P ci-test ${MVN_LOCAL_REPO_OPT} 
-Dassembly.skipAssembly=true'
+                    sh 'mvn -B -e -fae test -Punstable-tests 
${MVN_SHOW_TIMESTAMPS} -P ci-test ${MVN_LOCAL_REPO_OPT} 
-Dassembly.skipAssembly=true -Dapi.version=1.44'
                 }
             }
             post {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to