From: Andrew Grimberg Date: Thu, 16 Feb 2017 14:21:00 +0000 (-0800) Subject: Make sure python tox is run in bash X-Git-Tag: 1.0.0-Amsterdam~720 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=673c96344752e365121903197ef5369488dfe6e8;p=ci-management.git 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 --- 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