X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fjjb-deploy-job.sh;h=dff70828a4dd6979ddb26a2847ef24515c82ce6d;hb=6b7742eb7b8c8b229fd6f0a834de5bc2fd9c4ec1;hp=f62b7df0ae9953efff39f6511c4eff8bb115af13;hpb=76aaece53118efec0bdcd003efb31f03d6286c92;p=releng%2Fglobal-jjb.git diff --git a/shell/jjb-deploy-job.sh b/shell/jjb-deploy-job.sh index f62b7df0..dff70828 100644 --- a/shell/jjb-deploy-job.sh +++ b/shell/jjb-deploy-job.sh @@ -26,6 +26,7 @@ lf-activate-venv --python python3 --venv-file /tmp/.jjb_venv jenkins-job-builder if [ "${GERRIT_PROJECT}" == "${PROJECT}" ]; then echo "-----> Fetching ${PROJECT} patch" git fetch origin "$GERRIT_REFSPEC" && git checkout FETCH_HEAD + git submodule update --init --recursive fi # If not Gerrit Trigger than assume GitHub