From: Trevor Bramwell Date: Mon, 5 Nov 2018 17:07:26 +0000 (-0800) Subject: Fix SFC Verify Job Virtualenv Location X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;ds=inline;h=refs%2Fchanges%2F13%2F64513%2F1;p=releng.git Fix SFC Verify Job Virtualenv Location '/var/cache' isn't writable by others, but /var/tmp should be. Also fixed the issue of not sourcing 'activate' within the bin path. Change-Id: Ib7830cc33543227d6b67cac00edc212d889aec10 Signed-off-by: Trevor Bramwell --- diff --git a/jjb/sfc/sfc-project-jobs.yaml b/jjb/sfc/sfc-project-jobs.yaml index 9ca0b92ef..31f7aa6f5 100644 --- a/jjb/sfc/sfc-project-jobs.yaml +++ b/jjb/sfc/sfc-project-jobs.yaml @@ -77,8 +77,9 @@ name: sfc-unit-tests-and-docs builders: - shell: | - virtualenv /var/cache/sfc - source /var/cache/sfc + #!/bin/bash + virtualenv /var/tmp/sfc + source /var/tmp/sfc/bin/activate pip install tox cd $WORKSPACE && tox