X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fjjb-install.sh;fp=shell%2Fjjb-install.sh;h=baaa5d70f852287a52c909bd73935e66b0227217;hb=fa92cd4118bf1ec02ec93327fcfda2325b7c9106;hp=86fbef71f7975cb4c90d21fc1b8432be1ce9e815;hpb=5957fbdd1eb1c38af3cf59fffedf8ebe1060d196;p=releng%2Fglobal-jjb.git diff --git a/shell/jjb-install.sh b/shell/jjb-install.sh index 86fbef71..baaa5d70 100644 --- a/shell/jjb-install.sh +++ b/shell/jjb-install.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -l # SPDX-License-Identifier: EPL-1.0 ############################################################################## # Copyright (c) 2017 The Linux Foundation and others. @@ -22,8 +22,7 @@ virtualenv "$JJB_VENV" echo "JJB_VENV=$JJB_VENV" > "$WORKSPACE/.jjb.properties" # shellcheck source=$VENV_DIR/bin/activate disable=SC1091 source "$JJB_VENV/bin/activate" -pip install --quiet --upgrade "pip==9.0.3" setuptools -pip install --quiet --upgrade "jenkins-job-builder==$JJB_VERSION" +python -m pip install --quiet --upgrade "jenkins-job-builder==$JJB_VERSION" echo "----> pip freeze" pip freeze