Init submodules in gerrit build jobs
Gerrit needs its submodules inited and updated before building release
artifacts because core plugins come from submodules and are included in
the release war.
/usr/zuul-env/bin/zuul-cloner -m $CLONEMAP \
--cache-dir /opt/git \
git://git.openstack.org openstack-infra/gerrit
+ cd gerrit
+ # This is necessary to build the core plugins
+ git submodule init
+ git submodule update
# Slightly hacky, but this is a workaround for removal of ant and asciidoc
# from the bindep fallback list while avoiding gratuitously adding a
