X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Finfra%2Fupdate-jenkins-slave.sh;h=1fe6202090eff9d2d54767e8eb6de0763d7b47ef;hb=702d72414ba55a69dd72075c7336db8dff375984;hp=1b1a7c98fd998b2e9a49e869c74c7fb45546f78f;hpb=eea4f2083cd1bc848a7ee63edd3aa549bf796e74;p=infra%2Fcicd.git diff --git a/jjb/infra/update-jenkins-slave.sh b/jjb/infra/update-jenkins-slave.sh index 1b1a7c98..1fe62020 100644 --- a/jjb/infra/update-jenkins-slave.sh +++ b/jjb/infra/update-jenkins-slave.sh @@ -17,7 +17,7 @@ while sudo lsof ${DPKG_LOCK} > /dev/null 2>&1 ; do try=$((try + 1)) done -sudo apt install -y -q=3 python3-minimal python3-pip virtualenv +sudo apt install -y -q=3 python3.8-minimal python3-pip virtualenv # workaround for https://github.com/pypa/virtualenv/issues/1029 export PS1=${PS1:-} @@ -25,7 +25,7 @@ export PS1=${PS1:-} cd "$WORKSPACE" echo "----------------------------------------------------" echo "Info: Create virtualenv to update Jenkins slaves" -virtualenv -p python3 --quiet --no-site-packages .venv +virtualenv -p python3.8 --quiet --no-site-packages .venv source .venv/bin/activate pip install python-openstackclient echo "----------------------------------------------------"