X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fjjb-install.sh;h=54501b8ec8ab66508d556b457dd6031e2f67285b;hb=ad0ee7c792b24345f2b419b3418bd84eac0f6ac1;hp=af2f42c5f86741825ab479dc7b43a6ff8cdd1189;hpb=2c2b7ab2906106cf553e0ab358229496a5f1558e;p=releng%2Fglobal-jjb.git diff --git a/shell/jjb-install.sh b/shell/jjb-install.sh index af2f42c5..54501b8e 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,9 +14,12 @@ 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 --upgrade pip -pip install --upgrade "jenkins-job-builder==$JJB_VERSION" -pip freeze +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 pipdeptree +pip install --quiet --upgrade "jenkins-job-builder==$JJB_VERSION" + +echo "----> Pip Dependency Tree" +pipdeptree