Skip to content

Commit b50b067

Browse files
Bot Updating Templated Files
1 parent 025f4aa commit b50b067

1 file changed

Lines changed: 13 additions & 7 deletions

File tree

Jenkinsfile

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ pipeline {
584584
--label \"org.opencontainers.image.title=Ombi\" \
585585
--label \"org.opencontainers.image.description=[Ombi](https://ombi.io) allows you to host your own Plex Request and user management system. If you are sharing your Plex server with other users, allow them to request new content using an easy to manage interface! Manage all your requests for Movies and TV with ease, leave notes for the user and get notification when a user requests something. Allow your users to post issues against their requests so you know there is a problem with the audio etc. Even automatically sent them weekly newsletters of new content that has been added to your Plex server!\" \
586586
--no-cache --pull -t ${IMAGE}:${META_TAG} --platform=linux/amd64 \
587-
--provenance=false --sbom=false --builder=container --load \
587+
--provenance=true --sbom=true --builder=container --load \
588588
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
589589
sh '''#! /bin/bash
590590
set -e
@@ -613,7 +613,9 @@ pipeline {
613613
for i in "${CACHE[@]}"; do
614614
docker push ${i}:amd64-${COMMIT_SHA}-${BUILD_NUMBER} &
615615
done
616-
wait
616+
for p in $(jobs -p); do
617+
wait "$p" || { echo "job $p failed" >&2; exit 1; }
618+
done
617619
fi
618620
'''
619621
}
@@ -648,7 +650,7 @@ pipeline {
648650
--label \"org.opencontainers.image.title=Ombi\" \
649651
--label \"org.opencontainers.image.description=[Ombi](https://ombi.io) allows you to host your own Plex Request and user management system. If you are sharing your Plex server with other users, allow them to request new content using an easy to manage interface! Manage all your requests for Movies and TV with ease, leave notes for the user and get notification when a user requests something. Allow your users to post issues against their requests so you know there is a problem with the audio etc. Even automatically sent them weekly newsletters of new content that has been added to your Plex server!\" \
650652
--no-cache --pull -t ${IMAGE}:amd64-${META_TAG} --platform=linux/amd64 \
651-
--provenance=false --sbom=false --builder=container --load \
653+
--provenance=true --sbom=true --builder=container --load \
652654
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
653655
sh '''#! /bin/bash
654656
set -e
@@ -677,7 +679,9 @@ pipeline {
677679
for i in "${CACHE[@]}"; do
678680
docker push ${i}:amd64-${COMMIT_SHA}-${BUILD_NUMBER} &
679681
done
680-
wait
682+
for p in $(jobs -p); do
683+
wait "$p" || { echo "job $p failed" >&2; exit 1; }
684+
done
681685
fi
682686
'''
683687
}
@@ -705,7 +709,7 @@ pipeline {
705709
--label \"org.opencontainers.image.title=Ombi\" \
706710
--label \"org.opencontainers.image.description=[Ombi](https://ombi.io) allows you to host your own Plex Request and user management system. If you are sharing your Plex server with other users, allow them to request new content using an easy to manage interface! Manage all your requests for Movies and TV with ease, leave notes for the user and get notification when a user requests something. Allow your users to post issues against their requests so you know there is a problem with the audio etc. Even automatically sent them weekly newsletters of new content that has been added to your Plex server!\" \
707711
--no-cache --pull -f Dockerfile.aarch64 -t ${IMAGE}:arm64v8-${META_TAG} --platform=linux/arm64 \
708-
--provenance=false --sbom=false --builder=container --load \
712+
--provenance=true --sbom=true --builder=container --load \
709713
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
710714
sh '''#! /bin/bash
711715
set -e
@@ -734,7 +738,9 @@ pipeline {
734738
for i in "${CACHE[@]}"; do
735739
docker push ${i}:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER} &
736740
done
737-
wait
741+
for p in $(jobs -p); do
742+
wait "$p" || { echo "job $p failed" >&2; exit 1; }
743+
done
738744
fi
739745
'''
740746
}
@@ -977,7 +983,7 @@ pipeline {
977983
echo '{"tag_name":"'${META_TAG}'",\
978984
"target_commitish": "development",\
979985
"name": "'${META_TAG}'",\
980-
"body": "**CI Report:**\\n\\n'${CI_URL:-N/A}'\\n\\n**LinuxServer Changes:**\\n\\n'${LS_RELEASE_NOTES}'\\n\\n**'${EXT_REPO}' Changes:**\\n\\n' > start
986+
"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
981987
printf '","draft": false,"prerelease": true}' >> releasebody.json
982988
paste -d'\\0' start releasebody.json > releasebody.json.done
983989
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)