From 49c9feaa7343d9f743e7781b8f085f733f98c3a1 Mon Sep 17 00:00:00 2001 From: Dave Wallace Date: Tue, 28 Jul 2020 14:59:02 +0000 Subject: bash: fix pip install issue with jjb-sandbox-env function - In a new system (e.g. ubuntu 18.04 docker image), the pip3 installation of jenkins-job-builder fails unless pip3 wheel is completed on a previous pip3 install command. Type: fix Change-Id: I4354c851161b9c470d44951dc8b722ffc87f56f7 Signed-off-by: Dave Wallace --- extras/bash/functions.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extras/bash/functions.bash b/extras/bash/functions.bash index 0ad73650eb0..21c3d5bc9ae 100644 --- a/extras/bash/functions.bash +++ b/extras/bash/functions.bash @@ -229,7 +229,8 @@ jjb-sandbox-env() rm -rf $VENV_DIR \ && python3 -m venv $VENV_DIR \ && source $VENV_DIR/bin/activate \ - && pip3 install wheel jenkins-job-builder==3.0.2 + && pip3 install wheel \ + && pip3 install jenkins-job-builder==3.0.2 alias jjsb='jenkins-jobs --conf $JENKINS_INI' function jjsb-test() { -- cgit 1.2.3-korg