Skip to content

Commit b20e536

Browse files
Bot Updating Templated Files
1 parent 0ad7465 commit b20e536

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
@@ -585,7 +585,7 @@ pipeline {
585585
--label \"org.opencontainers.image.title=Ombi\" \
586586
--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 send them weekly newsletters of new content that has been added to your Plex server!\" \
587587
--no-cache --pull -t ${IMAGE}:${META_TAG} --platform=linux/amd64 \
588-
--provenance=false --sbom=false --builder=container --load \
588+
--provenance=true --sbom=true --builder=container --load \
589589
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
590590
sh '''#! /bin/bash
591591
set -e
@@ -614,7 +614,9 @@ pipeline {
614614
for i in "${CACHE[@]}"; do
615615
docker push ${i}:amd64-${COMMIT_SHA}-${BUILD_NUMBER} &
616616
done
617-
wait
617+
for p in $(jobs -p); do
618+
wait "$p" || { echo "job $p failed" >&2; exit 1; }
619+
done
618620
fi
619621
'''
620622
}
@@ -649,7 +651,7 @@ pipeline {
649651
--label \"org.opencontainers.image.title=Ombi\" \
650652
--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 send them weekly newsletters of new content that has been added to your Plex server!\" \
651653
--no-cache --pull -t ${IMAGE}:amd64-${META_TAG} --platform=linux/amd64 \
652-
--provenance=false --sbom=false --builder=container --load \
654+
--provenance=true --sbom=true --builder=container --load \
653655
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
654656
sh '''#! /bin/bash
655657
set -e
@@ -678,7 +680,9 @@ pipeline {
678680
for i in "${CACHE[@]}"; do
679681
docker push ${i}:amd64-${COMMIT_SHA}-${BUILD_NUMBER} &
680682
done
681-
wait
683+
for p in $(jobs -p); do
684+
wait "$p" || { echo "job $p failed" >&2; exit 1; }
685+
done
682686
fi
683687
'''
684688
}
@@ -706,7 +710,7 @@ pipeline {
706710
--label \"org.opencontainers.image.title=Ombi\" \
707711
--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 send them weekly newsletters of new content that has been added to your Plex server!\" \
708712
--no-cache --pull -f Dockerfile.aarch64 -t ${IMAGE}:arm64v8-${META_TAG} --platform=linux/arm64 \
709-
--provenance=false --sbom=false --builder=container --load \
713+
--provenance=true --sbom=true --builder=container --load \
710714
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
711715
sh '''#! /bin/bash
712716
set -e
@@ -735,7 +739,9 @@ pipeline {
735739
for i in "${CACHE[@]}"; do
736740
docker push ${i}:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER} &
737741
done
738-
wait
742+
for p in $(jobs -p); do
743+
wait "$p" || { echo "job $p failed" >&2; exit 1; }
744+
done
739745
fi
740746
'''
741747
}
@@ -978,7 +984,7 @@ pipeline {
978984
echo '{"tag_name":"'${META_TAG}'",\
979985
"target_commitish": "master",\
980986
"name": "'${META_TAG}'",\
981-
"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
987+
"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
982988
printf '","draft": false,"prerelease": false}' >> releasebody.json
983989
paste -d'\\0' start releasebody.json > releasebody.json.done
984990
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)