aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2019-04-18 15:01:44 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2019-04-19 13:51:50 +0000
commit21b0d4e900b86ff03b1f280bff4a01d5b2290665 (patch)
treea4a2649d0287e93c19490d25a1b2fa9c7e0c0837
parent093a4e57c6d3caff20f6f1fc57d29e2c8d5cd147 (diff)
tcwg-reboot: Fix for tcwg-tk1-10
Change-Id: I67d6a11f8013d6f72ab54b52d58a37d02c8ad431
-rw-r--r--tcwg-reboot.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/tcwg-reboot.yaml b/tcwg-reboot.yaml
index 438b46d8b3..a257627ebb 100644
--- a/tcwg-reboot.yaml
+++ b/tcwg-reboot.yaml
@@ -61,7 +61,10 @@
if [ -f "/.dockerenv" ]; then
# We need to access the real machine, not the Jenkins container
- user=root
+ case "$NODE_NAME" in
+ tcwg-tk1-*) user=$USER ;;
+ *) user=root ;;
+ esac
else
user=$USER
fi