diff --git a/Jenkinsfile b/Jenkinsfile index ed36a1f..3555b33 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,9 +3,9 @@ node { remote.name = 'workstation' remote.host = 'workstation' remote.user = 'dany' + remote.identityFile = '/var/jenkins_home/.ssh/id_rsa' remote.allowAnyHosts = true remote.agent = false - remote.identifyFile = '/var/jenkins_home/.ssh/id_rsa' remote.logLevel = 'FINEST' stage('Remote SSH') { sshCommand remote: remote, command: "ls -al"