From 673c96344752e365121903197ef5369488dfe6e8 Mon Sep 17 00:00:00 2001 From: Andrew Grimberg Date: Thu, 16 Feb 2017 06:21:00 -0800 Subject: 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 --- jjb/global-templates-python.yaml | 1 + 1 file changed, 1 insertion(+) (limited to 'jjb/global-templates-python.yaml') 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 -- cgit 1.2.3-korg