Skip to content

Commit df19a3d

Browse files
Bot Updating Templated Files
1 parent bbc6cb1 commit df19a3d

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

Jenkinsfile

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ pipeline {
573573
--label \"org.opencontainers.image.title=Webtop\" \
574574
--label \"org.opencontainers.image.description=[Webtop](https://github.com/linuxserver/docker-webtop) - Alpine, Ubuntu, Fedora, and Arch based containers containing full desktop environments in officially supported flavors accessible via any modern web browser. \" \
575575
--no-cache --pull -t ${IMAGE}:${META_TAG} --platform=linux/amd64 \
576-
--provenance=false --sbom=false --builder=container --load \
576+
--provenance=true --sbom=true --builder=container --load \
577577
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
578578
sh '''#! /bin/bash
579579
set -e
@@ -602,7 +602,9 @@ pipeline {
602602
for i in "${CACHE[@]}"; do
603603
docker push ${i}:amd64-${COMMIT_SHA}-${BUILD_NUMBER} &
604604
done
605-
wait
605+
for p in $(jobs -p); do
606+
wait "$p" || { echo "job $p failed" >&2; exit 1; }
607+
done
606608
fi
607609
'''
608610
}
@@ -637,7 +639,7 @@ pipeline {
637639
--label \"org.opencontainers.image.title=Webtop\" \
638640
--label \"org.opencontainers.image.description=[Webtop](https://github.com/linuxserver/docker-webtop) - Alpine, Ubuntu, Fedora, and Arch based containers containing full desktop environments in officially supported flavors accessible via any modern web browser. \" \
639641
--no-cache --pull -t ${IMAGE}:amd64-${META_TAG} --platform=linux/amd64 \
640-
--provenance=false --sbom=false --builder=container --load \
642+
--provenance=true --sbom=true --builder=container --load \
641643
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
642644
sh '''#! /bin/bash
643645
set -e
@@ -666,7 +668,9 @@ pipeline {
666668
for i in "${CACHE[@]}"; do
667669
docker push ${i}:amd64-${COMMIT_SHA}-${BUILD_NUMBER} &
668670
done
669-
wait
671+
for p in $(jobs -p); do
672+
wait "$p" || { echo "job $p failed" >&2; exit 1; }
673+
done
670674
fi
671675
'''
672676
}
@@ -694,7 +698,7 @@ pipeline {
694698
--label \"org.opencontainers.image.title=Webtop\" \
695699
--label \"org.opencontainers.image.description=[Webtop](https://github.com/linuxserver/docker-webtop) - Alpine, Ubuntu, Fedora, and Arch based containers containing full desktop environments in officially supported flavors accessible via any modern web browser. \" \
696700
--no-cache --pull -f Dockerfile.aarch64 -t ${IMAGE}:arm64v8-${META_TAG} --platform=linux/arm64 \
697-
--provenance=false --sbom=false --builder=container --load \
701+
--provenance=true --sbom=true --builder=container --load \
698702
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
699703
sh '''#! /bin/bash
700704
set -e
@@ -723,7 +727,9 @@ pipeline {
723727
for i in "${CACHE[@]}"; do
724728
docker push ${i}:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER} &
725729
done
726-
wait
730+
for p in $(jobs -p); do
731+
wait "$p" || { echo "job $p failed" >&2; exit 1; }
732+
done
727733
fi
728734
'''
729735
}
@@ -966,7 +972,7 @@ pipeline {
966972
echo '{"tag_name":"'${META_TAG}'",\
967973
"target_commitish": "master",\
968974
"name": "'${META_TAG}'",\
969-
"body": "**CI Report:**\\n\\n'${CI_URL:-N/A}'\\n\\n**LinuxServer Changes:**\\n\\n'${LS_RELEASE_NOTES}'\\n\\n**OS Changes:**\\n\\n' > start
975+
"body": "**CI Report:**\\n\\n'${CI_URL:-N/A}'\\n\\n**LinuxServer Changes:**\\n\\n'${LS_RELEASE_NOTES}'\\n\\n**Remote Changes:**\\n\\n' > start
970976
printf '","draft": false,"prerelease": false}' >> releasebody.json
971977
paste -d'\\0' start releasebody.json > releasebody.json.done
972978
curl -H "Authorization: token ${GITHUB_TOKEN}" -X POST https://api.github.com/repos/${LS_USER}/${LS_REPO}/releases -d @releasebody.json.done'''

0 commit comments

Comments
 (0)