X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fjjb-deploy-job.sh;fp=shell%2Fjjb-deploy-job.sh;h=dff70828a4dd6979ddb26a2847ef24515c82ce6d;hb=15d63bded80dd79040bb00085c6194fa8adbd1de;hp=f62b7df0ae9953efff39f6511c4eff8bb115af13;hpb=e8f821fc46b51176797f91b00b4fdc8a193c648b;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