summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2014-11-30 01:35:33 +0100
committerHolger Levsen <holger@layer-acht.org>2014-11-30 01:55:51 +0100
commitcdc039917d34357c9de8e49a9800b5f8c7f7bc35 (patch)
treeca74531859271f613feb1258c3229c3971b48672
parentab246ea58af4828c3b951ec11f87637aec47d074 (diff)
downloadjenkins.debian.net-cdc039917d34357c9de8e49a9800b5f8c7f7bc35.tar.xz
Ignore missing d-i-manual-pdf jobs for unsupported languages
-rwxr-xr-xbin/d-i_check_jobs.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/d-i_check_jobs.sh b/bin/d-i_check_jobs.sh
index de9e2e14..0814a144 100755
--- a/bin/d-i_check_jobs.sh
+++ b/bin/d-i_check_jobs.sh
@@ -95,6 +95,12 @@ for DIRECTORY in * ; do
continue
else
for FORMAT in pdf html ; do
+ if [ $FORMAT = pdf ] ; then
+ # Some languages are unsupported in PDF
+ case $DIRECTORY in
+ el|ja|vi|zh_CN|zh_TW) continue ;;
+ esac
+ fi
if [ ! -d ~jenkins/jobs/${DI_MANUAL_JOB_PATTERN}${DIRECTORY}_${FORMAT} ] ; then
echo "Warning: No build job '${DI_MANUAL_JOB_PATTERN}${DIRECTORY}_${FORMAT}'."
FAIL=true
@@ -127,6 +133,12 @@ for DIRECTORY in * ; do
continue
else
for FORMAT in pdf html ; do
+ if [ $FORMAT = pdf ] ; then
+ # Some languages are unsupported in PDF
+ case $DIRECTORY in
+ el|ja|vi|zh_CN|zh_TW) continue ;;
+ esac
+ fi
if [ ! -d ~jenkins/jobs/${DI_MANUAL_JOB_PATTERN}${DIRECTORY}_${FORMAT} ] ; then
echo "Warning: No build job '${DI_MANUAL_JOB_PATTERN}${DIRECTORY}_${FORMAT}'."
FAIL=true