Chore: Upgrade Jenkins-job-builder to 6.3.0
[releng/global-jjb.git] / shell / jjb-deploy-job.sh
index 08e64aa..dff7082 100644 (file)
@@ -20,12 +20,13 @@ set -uef -o pipefail
 source ~/lf-env.sh
 
 # Version controlled by JJB_VERSION
-lf-activate-venv --python python3 --venv-file /tmp/.jjb_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