source ~/lf-env.sh
# Version controlled by JJB_VERSION
-lf-activate-venv jenkins-job-builder
+lf-activate-venv --python python3 --venv-file /tmp/.jjb_venv jenkins-job-builder setuptools==65.7.0
# Fetch patch if gerrit project matches the jjb-deploy project
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