Skip to content

Commit f62ee54

Browse files
committed
try some more
1 parent bd63977 commit f62ee54

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

Jenkinsfile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ pipeline {
5757
docker context ls
5858
5959
echo "=== Creating Buildx Builder ==="
60-
docker buildx create --name multiarch --driver docker-container --platform linux/amd64,linux/arm64 --use multiarch-context || docker buildx use multiarch
60+
docker buildx create --name multiarch --driver docker --platform linux/amd64,linux/arm64 --use multiarch-context || docker buildx use multiarch
6161
6262
echo "=== Activating Builder ==="
6363
docker buildx use multiarch
@@ -69,7 +69,13 @@ pipeline {
6969
withMaven {
7070
sh """
7171
export DOCKER_TLS_VERIFY=1
72-
echo "Using existing DOCKER_HOST=\$DOCKER_HOST with TLS, DOCKER_CERT_PATH=\$DOCKER_CERT_PATH"
72+
echo "=== Maven Environment Debug ==="
73+
echo "DOCKER_HOST=\$DOCKER_HOST"
74+
echo "DOCKER_TLS_VERIFY=\$DOCKER_TLS_VERIFY"
75+
echo "DOCKER_CERT_PATH=\$DOCKER_CERT_PATH"
76+
echo "HOME=\$HOME"
77+
echo "=== Buildx Status for Maven ==="
78+
docker buildx ls
7379
./jdk-wrapper.sh ./mvnw $target -P rpm -U -B -Dstyle.color=always -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Ddocker.verbose=true
7480
"""
7581
}

pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,6 @@
430430
</cacheFrom>
431431
<buildx>
432432
<builderName>multiarch</builderName>
433-
<contextName>multiarch-context</contextName>
434433
<platforms>
435434
<platform>linux/amd64</platform>
436435
<platform>linux/arm64</platform>
@@ -468,7 +467,6 @@
468467
</cacheFrom>
469468
<buildx>
470469
<builderName>multiarch</builderName>
471-
<contextName>multiarch-context</contextName>
472470
<platforms>
473471
<platform>linux/amd64</platform>
474472
<platform>linux/arm64</platform>

0 commit comments

Comments
 (0)