Set StrictHostKeyChecking=no during jenkins tests

After each test host key changes and ssh fails.

Related-bug: #1533609

Change-Id: I7861744fef51c22f52412efceaa71e58876cd12f
This commit is contained in:
Łukasz Oleś 2016-02-02 14:52:51 +01:00
parent 227fbdb84f
commit c115d21bfd
1 changed files with 2 additions and 2 deletions

View File

@ -23,9 +23,9 @@ ADMIN_IP=`ENV_NAME=${ENV_NAME} python utils/jenkins/env.py get_admin_ip`
# Wait for master to boot
sleep 30
sshpass -p ${ADMIN_PASSWORD} rsync -az . -e ssh ${ADMIN_USER}@${ADMIN_IP}:/home/vagrant/solar --include bootstrap/playbooks --exclude "bootstrap/*" --exclude .tox --exclude tmp --exclude x-venv
sshpass -p ${ADMIN_PASSWORD} rsync -az . -e "ssh -o StrictHostKeyChecking=no" ${ADMIN_USER}@${ADMIN_IP}:/home/vagrant/solar --include bootstrap/playbooks --exclude "bootstrap/*" --exclude .tox --exclude tmp --exclude x-venv
sshpass -p ${ADMIN_PASSWORD} ssh ${ADMIN_USER}@${ADMIN_IP} bash -s <<EOF
sshpass -p ${ADMIN_PASSWORD} ssh -o StrictHostKeyChecking=no ${ADMIN_USER}@${ADMIN_IP} bash -s <<EOF
set -x
export PYTHONWARNINGS="ignore"