diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-11-30 01:35:33 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-11-30 01:55:51 +0100 |
commit | cdc039917d34357c9de8e49a9800b5f8c7f7bc35 (patch) | |
tree | ca74531859271f613feb1258c3229c3971b48672 /bin | |
parent | ab246ea58af4828c3b951ec11f87637aec47d074 (diff) | |
download | jenkins.debian.net-cdc039917d34357c9de8e49a9800b5f8c7f7bc35.tar.xz |
Ignore missing d-i-manual-pdf jobs for unsupported languages
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/d-i_check_jobs.sh | 12 |
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 |