X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fjjb-deploy-job.sh;h=dff70828a4dd6979ddb26a2847ef24515c82ce6d;hb=861a66c8f0b15813ed4330d02b302d1d1ce6a998;hp=152a02e1a8a320afe0f75e3b98f623948a957d66;hpb=30fb028f8fe8376c690c2e0b4e82597a8a66ea05;p=releng%2Fglobal-jjb.git diff --git a/shell/jjb-deploy-job.sh b/shell/jjb-deploy-job.sh index 152a02e1..dff70828 100644 --- a/shell/jjb-deploy-job.sh +++ b/shell/jjb-deploy-job.sh @@ -20,12 +20,13 @@ set -uef -o pipefail 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