Make sure python tox is run in bash
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Thu, 16 Feb 2017 14:21:00 +0000 (06:21 -0800)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Thu, 16 Feb 2017 14:21:00 +0000 (06:21 -0800)
The tox build script is making bash calls and Jenkins defaults to sh

Change-Id: I51c99edb8ed64f8274c225794b15d9cbfbbe3a82
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
jjb/global-templates-python.yaml

index 7404b7e..90d6c90 100644 (file)
@@ -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