Skip to content

Commit

Permalink
add Jenkinsfile.local
Browse files Browse the repository at this point in the history
  • Loading branch information
devopswise committed Jan 16, 2019
1 parent 2c1cc90 commit 16ee0f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile.local
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pipeline {
steps {

withCredentials([sshUserPrivateKey(credentialsId: "devopswise", keyFileVariable: 'keyfile')]) {
sh "ssh -i ${keyfile} root@192.168.0.46 hostname"
sh "ssh -o StrictHostKeyChecking=no -i ${keyfile} root@192.168.0.46 hostname"
}


Expand Down

0 comments on commit 16ee0f8

Please sign in to comment.