pipdeptree provides better output than pip freeze with more information.
Also run pip installs in quiet mode to cut down on log spam. It will
still print out WARNINGS, ERROR, and CRITICAL log messages.
Change-Id: I3f7e687ccdea5fcb5c749328c1e387e6d99d9fed
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
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
virtualenv "$WORKSPACE/.virtualenvs/lftools"
# shellcheck source=./.virtualenvs/lftools/bin/activate disable=SC1091
source "$WORKSPACE/.virtualenvs/lftools/bin/activate"
-pip install --upgrade pip
-pip install --upgrade "lftools<1.0.0"
-pip freeze
+pip install --quiet --upgrade pip
+pip install --quiet --upgrade pipdeptree
+pip install --quiet --upgrade "lftools<1.0.0"
+
+echo "----> Pip Dependency Tree"
+pipdeptree