diff options
author | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2018-11-05 09:07:26 -0800 |
---|---|---|
committer | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2018-11-05 09:07:26 -0800 |
commit | f0ffd74b84d1d0e4ff1a7c4962db5e077212b47c (patch) | |
tree | 807b253e333d6e0bb655b6b6e3b14b561d79072d /jjb | |
parent | caa918db3fca76b9f2e47b353b35465057afaf14 (diff) |
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 <tbramwell@linuxfoundation.org>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/sfc/sfc-project-jobs.yaml | 5 |
1 files changed, 3 insertions, 2 deletions
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 |