aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-09-16 14:12:36 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-09-18 00:49:44 +0000
commit9af93a539e07178422f1bc0a84165bd502c75363 (patch)
treec31542962ab1486618edf41ff80e54821454e781
parent25086394f9ebd7bd90698ea54734f27ee9d4517e (diff)
Fix error in CI job
Add /root/.ssh/ as SSH_CREDENTIALS Change-Id: I9b9c8701be6245715644a11916a8f7df97ba5d0f Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn> (cherry picked from commit fc71d3d7e3927b4ca2cbd657c140cf43c90c49d3)
-rw-r--r--tests/ci/utils/start_services.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ci/utils/start_services.sh b/tests/ci/utils/start_services.sh
index 78bc2970..3c481be4 100644
--- a/tests/ci/utils/start_services.sh
+++ b/tests/ci/utils/start_services.sh
@@ -17,6 +17,8 @@ SCENARIO=${DEPLOY_SCENARIO:-generic}
TESTAPI_URL=${TESTAPI_URL:-}
EOF
+export SSH_CREDENTIALS=${SSH_CREDENTIALS:-/root/.ssh}
+
TMPFILE=`mktemp /tmp/qtip.XXXXXX` || exit 1
curl https://git.opnfv.org/releng/plain/utils/fetch_os_creds.sh | bash -s -- \
-i ${INSTALLER_TYPE} -a ${INSTALLER_IP} -d ${TMPFILE}