Skip to content

Commit 2a41899

Browse files
Bot Updating Templated Files
1 parent 3a8fe92 commit 2a41899

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
@@ -575,7 +575,7 @@ pipeline {
575575
--label \"org.opencontainers.image.title=Pyload-ng\" \
576576
--label \"org.opencontainers.image.description=[pyLoad](https://pyload.net/) is a Free and Open Source download manager written in Python and designed to be extremely lightweight, easily extensible and fully manageable via web.\" \
577577
--no-cache --pull -t ${IMAGE}:${META_TAG} --platform=linux/amd64 \
578-
--provenance=false --sbom=false --builder=container --load \
578+
--provenance=true --sbom=true --builder=container --load \
579579
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
580580
sh '''#! /bin/bash
581581
set -e
@@ -604,7 +604,9 @@ pipeline {
604604
for i in "${CACHE[@]}"; do
605605
docker push ${i}:amd64-${COMMIT_SHA}-${BUILD_NUMBER} &
606606
done
607-
wait
607+
for p in $(jobs -p); do
608+
wait "$p" || { echo "job $p failed" >&2; exit 1; }
609+
done
608610
fi
609611
'''
610612
}
@@ -639,7 +641,7 @@ pipeline {
639641
--label \"org.opencontainers.image.title=Pyload-ng\" \
640642
--label \"org.opencontainers.image.description=[pyLoad](https://pyload.net/) is a Free and Open Source download manager written in Python and designed to be extremely lightweight, easily extensible and fully manageable via web.\" \
641643
--no-cache --pull -t ${IMAGE}:amd64-${META_TAG} --platform=linux/amd64 \
642-
--provenance=false --sbom=false --builder=container --load \
644+
--provenance=true --sbom=true --builder=container --load \
643645
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
644646
sh '''#! /bin/bash
645647
set -e
@@ -668,7 +670,9 @@ pipeline {
668670
for i in "${CACHE[@]}"; do
669671
docker push ${i}:amd64-${COMMIT_SHA}-${BUILD_NUMBER} &
670672
done
671-
wait
673+
for p in $(jobs -p); do
674+
wait "$p" || { echo "job $p failed" >&2; exit 1; }
675+
done
672676
fi
673677
'''
674678
}
@@ -696,7 +700,7 @@ pipeline {
696700
--label \"org.opencontainers.image.title=Pyload-ng\" \
697701
--label \"org.opencontainers.image.description=[pyLoad](https://pyload.net/) is a Free and Open Source download manager written in Python and designed to be extremely lightweight, easily extensible and fully manageable via web.\" \
698702
--no-cache --pull -f Dockerfile.aarch64 -t ${IMAGE}:arm64v8-${META_TAG} --platform=linux/arm64 \
699-
--provenance=false --sbom=false --builder=container --load \
703+
--provenance=true --sbom=true --builder=container --load \
700704
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
701705
sh '''#! /bin/bash
702706
set -e
@@ -725,7 +729,9 @@ pipeline {
725729
for i in "${CACHE[@]}"; do
726730
docker push ${i}:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER} &
727731
done
728-
wait
732+
for p in $(jobs -p); do
733+
wait "$p" || { echo "job $p failed" >&2; exit 1; }
734+
done
729735
fi
730736
'''
731737
}
@@ -968,7 +974,7 @@ pipeline {
968974
echo '{"tag_name":"'${META_TAG}'",\
969975
"target_commitish": "main",\
970976
"name": "'${META_TAG}'",\
971-
"body": "**CI Report:**\\n\\n'${CI_URL:-N/A}'\\n\\n**LinuxServer Changes:**\\n\\n'${LS_RELEASE_NOTES}'\\n\\n**PIP Changes:**\\n\\n' > start
977+
"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
972978
printf '","draft": false,"prerelease": false}' >> releasebody.json
973979
paste -d'\\0' start releasebody.json > releasebody.json.done
974980
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)