Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
All macros should be namespaced to lf-infra-
[releng/global-jjb.git]
/
shell
/
jjb-install.sh
diff --git
a/shell/jjb-install.sh
b/shell/jjb-install.sh
index
6eea3ad
..
8baed83
100644
(file)
--- a/
shell/jjb-install.sh
+++ b/
shell/jjb-install.sh
@@
-11,11
+11,15
@@
echo "---> jjb-install.sh"
# Ensure we fail the job if any steps fail.
echo "---> jjb-install.sh"
# Ensure we fail the job if any steps fail.
-set -eu -o pipefail
+# 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"
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
+pip install --quiet --upgrade pip
+pip install --quiet --upgrade pipdeptree
+pip install --quiet --upgrade "jenkins-job-builder==$JJB_VERSION"
+
+echo "----> Pip Dependency Tree"
+pipdeptree