diff --git a/shell/jjb-deploy-job.sh b/shell/jjb-deploy-job.sh index f62b7df0a..dff70828a 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