summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2020-07-28 14:59:02 +0000
committerAndrew Yourtchenko <ayourtch@gmail.com>2020-08-06 18:54:30 +0000
commit49c9feaa7343d9f743e7781b8f085f733f98c3a1 (patch)
tree68f589b45f9ce1a3f0708be90f83b95a03a4a4b9
parentd4a639bbd2257a88fa3f06939a23c13af1d56dd3 (diff)
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 <dwallacelf@gmail.com>
-rw-r--r--extras/bash/functions.bash3
1 files changed, 2 insertions, 1 deletions
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() {