builders:
- clone-opnfv-repos
- build-html-and-pdf-docs-output
-# - upload-under-review-docs-to-opnfv-artifacts
+ - upload-under-review-docs-to-opnfv-artifacts
- report-docs-build-result-to-gerrit
- job-template:
# clone releng repo to get repo list
cd $WORKSPACE
echo "Cloning releng repo"
- git clone $GIT_CLONE_BASE/releng --quiet
+ git clone $GIT_CLONE_BASE/releng --branch master --depth 1 --quiet
# clone rest of the repos and checkout the branch
echo "Cloning repos of participating OPNFV Projects and checking out $GERRIT_BRANCH"
for repo in $(grep -v '^#' $WORKSPACE/releng/jjb/opnfvdocs/project.cfg | sort); do
cd $WORKSPACE
echo " $repo"
- git clone $GIT_CLONE_BASE/$repo --branch $GERRIT_BRANCH --quiet
+ git clone $GIT_CLONE_BASE/$repo --branch $GERRIT_BRANCH --depth 1 --quiet
done
echo "--------------------------------------------------------"
echo