Skip to content

Commit c49647b

Browse files
Bot Updating Templated Files
1 parent d7470b5 commit c49647b

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

Jenkinsfile

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ pipeline {
505505
--label \"org.opencontainers.image.title=Qemu-static\" \
506506
--label \"org.opencontainers.image.description=qemu-static image by linuxserver.io\" \
507507
--no-cache --pull -t ${IMAGE}:${META_TAG} --platform=linux/amd64 \
508-
--provenance=false --sbom=false --builder=container --load \
508+
--provenance=true --sbom=true --builder=container --load \
509509
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
510510
sh '''#! /bin/bash
511511
set -e
@@ -534,7 +534,9 @@ pipeline {
534534
for i in "${CACHE[@]}"; do
535535
docker push ${i}:amd64-${COMMIT_SHA}-${BUILD_NUMBER} &
536536
done
537-
wait
537+
for p in $(jobs -p); do
538+
wait "$p" || { echo "job $p failed" >&2; exit 1; }
539+
done
538540
fi
539541
'''
540542
}
@@ -569,7 +571,7 @@ pipeline {
569571
--label \"org.opencontainers.image.title=Qemu-static\" \
570572
--label \"org.opencontainers.image.description=qemu-static image by linuxserver.io\" \
571573
--no-cache --pull -t ${IMAGE}:amd64-${META_TAG} --platform=linux/amd64 \
572-
--provenance=false --sbom=false --builder=container --load \
574+
--provenance=true --sbom=true --builder=container --load \
573575
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
574576
sh '''#! /bin/bash
575577
set -e
@@ -598,7 +600,9 @@ pipeline {
598600
for i in "${CACHE[@]}"; do
599601
docker push ${i}:amd64-${COMMIT_SHA}-${BUILD_NUMBER} &
600602
done
601-
wait
603+
for p in $(jobs -p); do
604+
wait "$p" || { echo "job $p failed" >&2; exit 1; }
605+
done
602606
fi
603607
'''
604608
}
@@ -626,7 +630,7 @@ pipeline {
626630
--label \"org.opencontainers.image.title=Qemu-static\" \
627631
--label \"org.opencontainers.image.description=qemu-static image by linuxserver.io\" \
628632
--no-cache --pull -f Dockerfile.aarch64 -t ${IMAGE}:arm64v8-${META_TAG} --platform=linux/arm64 \
629-
--provenance=false --sbom=false --builder=container --load \
633+
--provenance=true --sbom=true --builder=container --load \
630634
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
631635
sh '''#! /bin/bash
632636
set -e
@@ -655,7 +659,9 @@ pipeline {
655659
for i in "${CACHE[@]}"; do
656660
docker push ${i}:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER} &
657661
done
658-
wait
662+
for p in $(jobs -p); do
663+
wait "$p" || { echo "job $p failed" >&2; exit 1; }
664+
done
659665
fi
660666
'''
661667
}

0 commit comments

Comments
 (0)