summaryrefslogtreecommitdiffstats
path: root/jjb/global-templates-python.yaml
diff options
context:
space:
mode:
authorAndrew Grimberg <agrimberg@linuxfoundation.org>2017-02-16 06:21:00 -0800
committerAndrew Grimberg <agrimberg@linuxfoundation.org>2017-02-16 06:21:00 -0800
commit673c96344752e365121903197ef5369488dfe6e8 (patch)
treea0ea7e1d56f254ccbb4a0ec02df64bf0bc81a838 /jjb/global-templates-python.yaml
parent400e3a4a6d3258a8b0c1149d83bd5092358f43b1 (diff)
Make sure python tox is run in bash
The tox build script is making bash calls and Jenkins defaults to sh Change-Id: I51c99edb8ed64f8274c225794b15d9cbfbbe3a82 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Diffstat (limited to 'jjb/global-templates-python.yaml')
-rw-r--r--jjb/global-templates-python.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/jjb/global-templates-python.yaml b/jjb/global-templates-python.yaml
index 7404b7e74..90d6c9072 100644
--- a/jjb/global-templates-python.yaml
+++ b/jjb/global-templates-python.yaml
@@ -52,6 +52,7 @@
global-settings-file: 'global-settings'
settings-file: '{mvn-settings}'
- shell: |
+ #!/bin/bash
virtualenv $WORKSPACE/venv-tox
source $WORKSPACE/venv-tox/bin/activate
pip install --upgrade pip