Skip to content

Commit 2117cf9

Browse files
Bot Updating Templated Files
1 parent 9ecaf76 commit 2117cf9

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

Jenkinsfile

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ pipeline {
512512
--label \"org.opencontainers.image.title=Python\" \
513513
--label \"org.opencontainers.image.description=python image by linuxserver.io\" \
514514
--no-cache --pull -t ${IMAGE}:${META_TAG} --platform=linux/amd64 \
515-
--provenance=false --sbom=false --builder=container --load \
515+
--provenance=true --sbom=true --builder=container --load \
516516
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
517517
sh '''#! /bin/bash
518518
set -e
@@ -541,7 +541,9 @@ pipeline {
541541
for i in "${CACHE[@]}"; do
542542
docker push ${i}:amd64-${COMMIT_SHA}-${BUILD_NUMBER} &
543543
done
544-
wait
544+
for p in $(jobs -p); do
545+
wait "$p" || { echo "job $p failed" >&2; exit 1; }
546+
done
545547
fi
546548
'''
547549
}
@@ -575,7 +577,7 @@ pipeline {
575577
--label \"org.opencontainers.image.title=Python\" \
576578
--label \"org.opencontainers.image.description=python image by linuxserver.io\" \
577579
--no-cache --pull -t ${IMAGE}:amd64-${META_TAG} --platform=linux/amd64 \
578-
--provenance=false --sbom=false --builder=container --load \
580+
--provenance=true --sbom=true --builder=container --load \
579581
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
580582
sh '''#! /bin/bash
581583
set -e
@@ -604,7 +606,9 @@ pipeline {
604606
for i in "${CACHE[@]}"; do
605607
docker push ${i}:amd64-${COMMIT_SHA}-${BUILD_NUMBER} &
606608
done
607-
wait
609+
for p in $(jobs -p); do
610+
wait "$p" || { echo "job $p failed" >&2; exit 1; }
611+
done
608612
fi
609613
'''
610614
}
@@ -632,7 +636,7 @@ pipeline {
632636
--label \"org.opencontainers.image.title=Python\" \
633637
--label \"org.opencontainers.image.description=python image by linuxserver.io\" \
634638
--no-cache --pull -f Dockerfile.aarch64 -t ${IMAGE}:arm64v8-${META_TAG} --platform=linux/arm64 \
635-
--provenance=false --sbom=false --builder=container --load \
639+
--provenance=true --sbom=true --builder=container --load \
636640
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
637641
sh '''#! /bin/bash
638642
set -e
@@ -661,7 +665,9 @@ pipeline {
661665
for i in "${CACHE[@]}"; do
662666
docker push ${i}:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER} &
663667
done
664-
wait
668+
for p in $(jobs -p); do
669+
wait "$p" || { echo "job $p failed" >&2; exit 1; }
670+
done
665671
fi
666672
'''
667673
}

0 commit comments

Comments
 (0)