Skip to content

Commit 48e6e64

Browse files
Bot Updating Templated Files
1 parent 17ccae4 commit 48e6e64

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

Jenkinsfile

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ pipeline {
575575
--label \"org.opencontainers.image.title=Remmina\" \
576576
--label \"org.opencontainers.image.description=[Remmina](https://remmina.org/) is a remote desktop client written in GTK, aiming to be useful for system administrators and travellers, who need to work with lots of remote computers in front of either large or tiny screens. Remmina supports multiple network protocols, in an integrated and consistent user interface. Currently RDP, VNC, SPICE, SSH and EXEC are supported.\" \
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=Remmina\" \
640642
--label \"org.opencontainers.image.description=[Remmina](https://remmina.org/) is a remote desktop client written in GTK, aiming to be useful for system administrators and travellers, who need to work with lots of remote computers in front of either large or tiny screens. Remmina supports multiple network protocols, in an integrated and consistent user interface. Currently RDP, VNC, SPICE, SSH and EXEC are supported.\" \
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=Remmina\" \
697701
--label \"org.opencontainers.image.description=[Remmina](https://remmina.org/) is a remote desktop client written in GTK, aiming to be useful for system administrators and travellers, who need to work with lots of remote computers in front of either large or tiny screens. Remmina supports multiple network protocols, in an integrated and consistent user interface. Currently RDP, VNC, SPICE, SSH and EXEC are supported.\" \
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
}

0 commit comments

Comments
 (0)