Skip to content

Commit 18e1504

Browse files
Bot Updating Templated Files
1 parent 1259348 commit 18e1504

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
@@ -579,7 +579,7 @@ pipeline {
579579
--label \"org.opencontainers.image.title=Wireguard\" \
580580
--label \"org.opencontainers.image.description=[WireGuard®](https://www.wireguard.com/) is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and more useful than IPsec, while avoiding the massive headache. It intends to be considerably more performant than OpenVPN. WireGuard is designed as a general purpose VPN for running on embedded interfaces and super computers alike, fit for many different circumstances. Initially released for the Linux kernel, it is now cross-platform (Windows, macOS, BSD, iOS, Android) and widely deployable. It is currently under heavy development, but already it might be regarded as the most secure, easiest to use, and simplest VPN solution in the industry.\" \
581581
--no-cache --pull -t ${IMAGE}:${META_TAG} --platform=linux/amd64 \
582-
--provenance=false --sbom=false --builder=container --load \
582+
--provenance=true --sbom=true --builder=container --load \
583583
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
584584
sh '''#! /bin/bash
585585
set -e
@@ -608,7 +608,9 @@ pipeline {
608608
for i in "${CACHE[@]}"; do
609609
docker push ${i}:amd64-${COMMIT_SHA}-${BUILD_NUMBER} &
610610
done
611-
wait
611+
for p in $(jobs -p); do
612+
wait "$p" || { echo "job $p failed" >&2; exit 1; }
613+
done
612614
fi
613615
'''
614616
}
@@ -643,7 +645,7 @@ pipeline {
643645
--label \"org.opencontainers.image.title=Wireguard\" \
644646
--label \"org.opencontainers.image.description=[WireGuard®](https://www.wireguard.com/) is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and more useful than IPsec, while avoiding the massive headache. It intends to be considerably more performant than OpenVPN. WireGuard is designed as a general purpose VPN for running on embedded interfaces and super computers alike, fit for many different circumstances. Initially released for the Linux kernel, it is now cross-platform (Windows, macOS, BSD, iOS, Android) and widely deployable. It is currently under heavy development, but already it might be regarded as the most secure, easiest to use, and simplest VPN solution in the industry.\" \
645647
--no-cache --pull -t ${IMAGE}:amd64-${META_TAG} --platform=linux/amd64 \
646-
--provenance=false --sbom=false --builder=container --load \
648+
--provenance=true --sbom=true --builder=container --load \
647649
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
648650
sh '''#! /bin/bash
649651
set -e
@@ -672,7 +674,9 @@ pipeline {
672674
for i in "${CACHE[@]}"; do
673675
docker push ${i}:amd64-${COMMIT_SHA}-${BUILD_NUMBER} &
674676
done
675-
wait
677+
for p in $(jobs -p); do
678+
wait "$p" || { echo "job $p failed" >&2; exit 1; }
679+
done
676680
fi
677681
'''
678682
}
@@ -700,7 +704,7 @@ pipeline {
700704
--label \"org.opencontainers.image.title=Wireguard\" \
701705
--label \"org.opencontainers.image.description=[WireGuard®](https://www.wireguard.com/) is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and more useful than IPsec, while avoiding the massive headache. It intends to be considerably more performant than OpenVPN. WireGuard is designed as a general purpose VPN for running on embedded interfaces and super computers alike, fit for many different circumstances. Initially released for the Linux kernel, it is now cross-platform (Windows, macOS, BSD, iOS, Android) and widely deployable. It is currently under heavy development, but already it might be regarded as the most secure, easiest to use, and simplest VPN solution in the industry.\" \
702706
--no-cache --pull -f Dockerfile.aarch64 -t ${IMAGE}:arm64v8-${META_TAG} --platform=linux/arm64 \
703-
--provenance=false --sbom=false --builder=container --load \
707+
--provenance=true --sbom=true --builder=container --load \
704708
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
705709
sh '''#! /bin/bash
706710
set -e
@@ -729,7 +733,9 @@ pipeline {
729733
for i in "${CACHE[@]}"; do
730734
docker push ${i}:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER} &
731735
done
732-
wait
736+
for p in $(jobs -p); do
737+
wait "$p" || { echo "job $p failed" >&2; exit 1; }
738+
done
733739
fi
734740
'''
735741
}
@@ -972,7 +978,7 @@ pipeline {
972978
echo '{"tag_name":"'${META_TAG}'",\
973979
"target_commitish": "master",\
974980
"name": "'${META_TAG}'",\
975-
"body": "**CI Report:**\\n\\n'${CI_URL:-N/A}'\\n\\n**LinuxServer Changes:**\\n\\n'${LS_RELEASE_NOTES}'\\n\\n**Repo Changes:**\\n\\n' > start
981+
"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
976982
printf '","draft": false,"prerelease": false}' >> releasebody.json
977983
paste -d'\\0' start releasebody.json > releasebody.json.done
978984
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)