Commit bc86fe89 authored by Josh Steinberg's avatar Josh Steinberg

update jenkisn

parent b99b8ff4
......@@ -61,8 +61,8 @@ pipeline {
steps{
sshagent(credentials: ['ssh-cred']){
sh '''
mkdir .ssh && chmod 0700 .ssh
ssh-keyscan -t rsa,dsa ${REMOTE_AGENT} >> .ssh/known_hosts
mkdir /.ssh && chmod 0700 /.ssh
ssh-keyscan -t rsa,dsa ${REMOTE_AGENT} >> /.ssh/known_hosts
ssh ${USER}@${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