X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fjjb-install.sh;h=9351f489409d6cd0dc5d4a096e492bfe8a341431;hb=0b1d0ba4945b93dc5d86fffef20f4be44fc5a2f9;hp=8baed8323612335887e5b10c47fe77a426f622a2;hpb=afb0041408b64e20cbf63ad8e0b78cf238979644;p=releng%2Fglobal-jjb.git diff --git a/shell/jjb-install.sh b/shell/jjb-install.sh index 8baed832..9351f489 100644 --- a/shell/jjb-install.sh +++ b/shell/jjb-install.sh @@ -1,5 +1,5 @@ #!/bin/bash -# @License EPL-1.0 +# SPDX-License-Identifier: EPL-1.0 ############################################################################## # Copyright (c) 2017 The Linux Foundation and others. # @@ -14,12 +14,11 @@ echo "---> jjb-install.sh" # DO NOT set -u as virtualenv's activate script has unbound variables set -e -o pipefail -virtualenv "$WORKSPACE/.virtualenvs/jjb" -# shellcheck source=./.virtualenvs/jjb/bin/activate disable=SC1091 -source "$WORKSPACE/.virtualenvs/jjb/bin/activate" -pip install --quiet --upgrade pip -pip install --quiet --upgrade pipdeptree +virtualenv "/tmp/v/jjb" +# shellcheck source=/tmp/v/jjb/bin/activate disable=SC1091 +source "/tmp/v/jjb/bin/activate" +pip install --quiet --upgrade "pip==9.0.3" setuptools pip install --quiet --upgrade "jenkins-job-builder==$JJB_VERSION" -echo "----> Pip Dependency Tree" -pipdeptree +echo "----> pip freeze" +pip freeze