Skip to content

Commit 025e5da

Browse files
Bot Updating Templated Files
1 parent 25ff849 commit 025e5da

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
@@ -577,7 +577,7 @@ pipeline {
577577
--label \"org.opencontainers.image.title=Plex\" \
578578
--label \"org.opencontainers.image.description=[Plex](https://plex.tv) organizes video, music and photos from personal media libraries and streams them to smart TVs, streaming boxes and mobile devices. This container is packaged as a standalone Plex Media Server. Straightforward design and bulk actions mean getting things done faster.\" \
579579
--no-cache --pull -t ${IMAGE}:${META_TAG} --platform=linux/amd64 \
580-
--provenance=false --sbom=false --builder=container --load \
580+
--provenance=true --sbom=true --builder=container --load \
581581
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
582582
sh '''#! /bin/bash
583583
set -e
@@ -606,7 +606,9 @@ pipeline {
606606
for i in "${CACHE[@]}"; do
607607
docker push ${i}:amd64-${COMMIT_SHA}-${BUILD_NUMBER} &
608608
done
609-
wait
609+
for p in $(jobs -p); do
610+
wait "$p" || { echo "job $p failed" >&2; exit 1; }
611+
done
610612
fi
611613
'''
612614
}
@@ -641,7 +643,7 @@ pipeline {
641643
--label \"org.opencontainers.image.title=Plex\" \
642644
--label \"org.opencontainers.image.description=[Plex](https://plex.tv) organizes video, music and photos from personal media libraries and streams them to smart TVs, streaming boxes and mobile devices. This container is packaged as a standalone Plex Media Server. Straightforward design and bulk actions mean getting things done faster.\" \
643645
--no-cache --pull -t ${IMAGE}:amd64-${META_TAG} --platform=linux/amd64 \
644-
--provenance=false --sbom=false --builder=container --load \
646+
--provenance=true --sbom=true --builder=container --load \
645647
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
646648
sh '''#! /bin/bash
647649
set -e
@@ -670,7 +672,9 @@ pipeline {
670672
for i in "${CACHE[@]}"; do
671673
docker push ${i}:amd64-${COMMIT_SHA}-${BUILD_NUMBER} &
672674
done
673-
wait
675+
for p in $(jobs -p); do
676+
wait "$p" || { echo "job $p failed" >&2; exit 1; }
677+
done
674678
fi
675679
'''
676680
}
@@ -698,7 +702,7 @@ pipeline {
698702
--label \"org.opencontainers.image.title=Plex\" \
699703
--label \"org.opencontainers.image.description=[Plex](https://plex.tv) organizes video, music and photos from personal media libraries and streams them to smart TVs, streaming boxes and mobile devices. This container is packaged as a standalone Plex Media Server. Straightforward design and bulk actions mean getting things done faster.\" \
700704
--no-cache --pull -f Dockerfile.aarch64 -t ${IMAGE}:arm64v8-${META_TAG} --platform=linux/arm64 \
701-
--provenance=false --sbom=false --builder=container --load \
705+
--provenance=true --sbom=true --builder=container --load \
702706
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
703707
sh '''#! /bin/bash
704708
set -e
@@ -727,7 +731,9 @@ pipeline {
727731
for i in "${CACHE[@]}"; do
728732
docker push ${i}:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER} &
729733
done
730-
wait
734+
for p in $(jobs -p); do
735+
wait "$p" || { echo "job $p failed" >&2; exit 1; }
736+
done
731737
fi
732738
'''
733739
}

0 commit comments

Comments
 (0)