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:
parent
227fbdb84f
commit
c115d21bfd
@ -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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user