jenkins.sh: fix 'do_build_doc'