From f4d2d5458fbba71414edebf5e9f69b98abd2d080 Mon Sep 17 00:00:00 2001 From: Nam Nguyen Hoai Date: Wed, 18 Oct 2017 14:03:20 +0700 Subject: [PATCH] Use generic user for both zuul v2 and v3 Zuul v2 uses 'jenkins' as user, but Zuul v3 uses 'zuul'. Using $USER solves it for both cases. Change-Id: I7e13aeb40cbb1800623c7a261a44b3096c5ef243 --- trio2o/tempestplugin/post_test_hook.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trio2o/tempestplugin/post_test_hook.sh b/trio2o/tempestplugin/post_test_hook.sh index 03c9eeb..972e1d8 100755 --- a/trio2o/tempestplugin/post_test_hook.sh +++ b/trio2o/tempestplugin/post_test_hook.sh @@ -57,8 +57,8 @@ if [ -d .testrepository ]; then sudo rm -r .testrepository fi -sudo chown -R jenkins:stack $DEST/tempest -# sudo chown -R jenkins:stack $BASE/data/tempest +sudo chown -R $USER:stack $DEST/tempest +# sudo chown -R $USER:stack $BASE/data/tempest # change the tempest configruation to test Trio2o env | grep OS_