You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by bt...@apache.org on 2025/11/25 06:22:07 UTC
(james-project) 26/34: [BUILD] Fix docker client API issue
This is an automated email from the ASF dual-hosted git repository.
btellier pushed a commit to branch 3.9.x
in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 5678afa698149982ef181f75d5ff23655f4218db
Author: Quan Tran <hq...@linagora.com>
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 911ef58f3e..3a49879100 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -96,7 +96,7 @@ pipeline {
stage('Stable Tests') {
steps {
echo 'Running tests'
- sh 'mvn -B -e -fae clean test ${MVN_SHOW_TIMESTAMPS} -P ci-test ${MVN_LOCAL_REPO_OPT} -Dassembly.skipAssembly=true jacoco:report-aggregate@jacoco-report'
+ sh 'mvn -B -e -fae clean 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 {
@@ -117,7 +117,7 @@ pipeline {
steps {
echo 'Running unstable tests'
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
- sh 'mvn -B -e -fae clean test -Punstable-tests ${MVN_SHOW_TIMESTAMPS} -P ci-test ${MVN_LOCAL_REPO_OPT} -Dassembly.skipAssembly=true'
+ sh 'mvn -B -e -fae clean 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: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org