Commit b35f1cda authored by Josh Steinberg's avatar Josh Steinberg

edit jenkinsfile

parent 95f888f3
...@@ -61,6 +61,8 @@ pipeline { ...@@ -61,6 +61,8 @@ pipeline {
steps{ steps{
sshagent(credentials: ['ssh-cred']){ sshagent(credentials: ['ssh-cred']){
sh ''' sh '''
mkdir ~/.ssh && chmod 0700 ~/.ssh
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