Skip to content

Commit f8ba500

Browse files
Bot Updating Templated Files
1 parent df418bb commit f8ba500

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=Dokuwiki\" \
576576
--label \"org.opencontainers.image.description=[Dokuwiki](https://www.dokuwiki.org/dokuwiki/) is a simple to use and highly versatile Open Source wiki software that doesn't require a database. It is loved by users for its clean and readable syntax. The ease of maintenance, backup and integration makes it an administrator's favorite. Built in access controls and authentication connectors make DokuWiki especially useful in the enterprise context and the large number of plugins contributed by its vibrant community allow for a broad range of use cases beyond a traditional wiki. \" \
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=Dokuwiki\" \
640642
--label \"org.opencontainers.image.description=[Dokuwiki](https://www.dokuwiki.org/dokuwiki/) is a simple to use and highly versatile Open Source wiki software that doesn't require a database. It is loved by users for its clean and readable syntax. The ease of maintenance, backup and integration makes it an administrator's favorite. Built in access controls and authentication connectors make DokuWiki especially useful in the enterprise context and the large number of plugins contributed by its vibrant community allow for a broad range of use cases beyond a traditional wiki. \" \
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=Dokuwiki\" \
697701
--label \"org.opencontainers.image.description=[Dokuwiki](https://www.dokuwiki.org/dokuwiki/) is a simple to use and highly versatile Open Source wiki software that doesn't require a database. It is loved by users for its clean and readable syntax. The ease of maintenance, backup and integration makes it an administrator's favorite. Built in access controls and authentication connectors make DokuWiki especially useful in the enterprise context and the large number of plugins contributed by its vibrant community allow for a broad range of use cases beyond a traditional wiki. \" \
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)