Commit 012ed8e6 authored by Fernando Vazquez's avatar Fernando Vazquez

Added ssh to host

parent 3a0a3463
......@@ -110,7 +110,7 @@ pipeline {
[ -d ~/.ssh ] || mkdir ~/.ssh && chmod 0700 ~/.ssh
ssh-keyscan -t rsa,dsa ${REMOTE_AGENT} >> ~/.ssh/known_hosts
ssh ${USER}@${REMOTE_AGENT} "echo hello vm!"
ssh -i jenkins_user ${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