Commit c70f6996 authored by Josh Steinberg's avatar Josh Steinberg

update script for jenkins

parent 8e2a2c04
......@@ -60,9 +60,10 @@ pipeline {
steps{
sshagent(credentials: ['ssh-cred']){
sh '''
[ -d ~/.ssh ] || mkdir ~/.ssh && chmod 0700 ~/.ssh
ssh-keyscan -t rsa,dsa ${REMOTE_AGENT} >> ~/.ssh/known_hosts
ssh root@${REMOTE_AGENT} echo "hello"
[ -d ~/.ssh ] || mkdir ~/.ssh && chmod 0700 ~/.ssh
ssh-keyscan -t rsa,dsa ${REMOTE_AGENT} >> ~/.ssh/known_hosts
ssh root@${REMOTE_AGENT} echo "hello"
'''
}
}
}
......
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