Commit 1cf3e846 authored by Fernando Vazquez's avatar Fernando Vazquez

Removed key insertion

parent 15d79b40
......@@ -106,7 +106,7 @@ pipeline {
sh '''
[ -d ~/.ssh ] || mkdir ~/.ssh && chmod 0700 ~/.ssh
ssh-keyscan -t rsa,dsa ${REMOTE_AGENT} >> ~/.ssh/known_hosts
ssh -i /root/.ssh/jenkins_user ${USER}@${REMOTE_AGENT} "echo hello vm!"
ssh ${USER}@${REMOTE_AGENT} "echo hello vm!"
'''
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment