File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ pipeline {
57
57
docker context ls
58
58
59
59
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
61
61
62
62
echo "=== Activating Builder ==="
63
63
docker buildx use multiarch
@@ -69,7 +69,13 @@ pipeline {
69
69
withMaven {
70
70
sh """
71
71
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
73
79
./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
74
80
"""
75
81
}
Original file line number Diff line number Diff line change 430
430
</cacheFrom >
431
431
<buildx >
432
432
<builderName >multiarch</builderName >
433
- <contextName >multiarch-context</contextName >
434
433
<platforms >
435
434
<platform >linux/amd64</platform >
436
435
<platform >linux/arm64</platform >
468
467
</cacheFrom >
469
468
<buildx >
470
469
<builderName >multiarch</builderName >
471
- <contextName >multiarch-context</contextName >
472
470
<platforms >
473
471
<platform >linux/amd64</platform >
474
472
<platform >linux/arm64</platform >
You can’t perform that action at this time.
0 commit comments