summaryrefslogtreecommitdiffstats
path: root/test/ete
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-11-09 16:42:03 -0800
committerGary Wu <gary.i.wu@huawei.com>2017-11-09 16:42:03 -0800
commite1a036492494c1097dbebb42fa4378bd4b10f3ec (patch)
tree29a3e686730ca59f65cea65c49279868067ea7fc /test/ete
parentb3b52e83d331c9d7e1733b947c06b5b4ab3ed19b (diff)
Pass username/password to remote script
Change-Id: I3b044463d2492bdb6abe60df9d06da7716bc9452 Issue-ID: INT-278 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'test/ete')
-rwxr-xr-xtest/ete/scripts/run-healthcheck.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ete/scripts/run-healthcheck.sh b/test/ete/scripts/run-healthcheck.sh
index 35e25f334..2f0f014d3 100755
--- a/test/ete/scripts/run-healthcheck.sh
+++ b/test/ete/scripts/run-healthcheck.sh
@@ -19,7 +19,7 @@ fi
ssh-keygen -R ${ROBOT_IP}
-ssh -o StrictHostKeychecking=no -i ${SSH_KEY} root@${ROBOT_IP} "OS_PASSWORD_INPUT=$OS_PASSWORD_INPUT bash -s" < ./remote/run-robot.sh
+ssh -o StrictHostKeychecking=no -i ${SSH_KEY} root@${ROBOT_IP} "OS_PROJECT_ID=$OS_PROJECT_ID OS_USERNAME=$OS_USERNAME OS_PASSWORD=$OS_PASSWORD bash -s" < ./remote/run-robot.sh
LOG_DIR=$(ssh -o StrictHostKeychecking=no -i ${SSH_KEY} root@${ROBOT_IP} "ls -1t /opt/eteshare/logs | head -1")
echo "Browse Robot results at http://${ROBOT_IP}:88/logs/${LOG_DIR}/"