Commit bc86fe89 authored by Josh Steinberg's avatar Josh Steinberg

update jenkisn

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