Skip to content
This repository was archived by the owner on Jan 3, 2025. It is now read-only.

Commit 18a8ef7

Browse files
Bot Updating Templated Files
1 parent de4a010 commit 18a8ef7

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

Diff for: Jenkinsfile

+13-7
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ pipeline {
585585
--label \"org.opencontainers.image.title=Quassel-core\" \
586586
--label \"org.opencontainers.image.description=[Quassel-core](http://quassel-irc.org/) is a modern, cross-platform, distributed IRC client, meaning that one (or multiple) client(s) can attach to and detach from a central core. This container handles the IRC connection (quasselcore) and requires a desktop client (quasselclient) to be used and configured. It is designed to be always on and will keep your identity present in IRC even when your clients cannot be online. Backlog (history) is downloaded by your client upon reconnection allowing infinite scrollback through time. \" \
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=Quassel-core\" \
650652
--label \"org.opencontainers.image.description=[Quassel-core](http://quassel-irc.org/) is a modern, cross-platform, distributed IRC client, meaning that one (or multiple) client(s) can attach to and detach from a central core. This container handles the IRC connection (quasselcore) and requires a desktop client (quasselclient) to be used and configured. It is designed to be always on and will keep your identity present in IRC even when your clients cannot be online. Backlog (history) is downloaded by your client upon reconnection allowing infinite scrollback through time. \" \
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=Quassel-core\" \
707711
--label \"org.opencontainers.image.description=[Quassel-core](http://quassel-irc.org/) is a modern, cross-platform, distributed IRC client, meaning that one (or multiple) client(s) can attach to and detach from a central core. This container handles the IRC connection (quasselcore) and requires a desktop client (quasselclient) to be used and configured. It is designed to be always on and will keep your identity present in IRC even when your clients cannot be online. Backlog (history) is downloaded by your client upon reconnection allowing infinite scrollback through time. \" \
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)