diff --git a/Jenkinsfile b/Jenkinsfile index f0e3629..6a92485 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,7 +18,7 @@ pipeline { stage("Push out new nrpe configurations") { steps { script { - withCredentials([sshUserPrivateKey(credentialsId: 'jenkins', keyFileVariable: 'identity', passphraseVariable: '', usernameVariable: 'userName')]) { + //withCredentials([sshUserPrivateKey(credentialsId: 'jenkins', keyFileVariable: 'identity', passphraseVariable: '', usernameVariable: 'userName')]) { def remote = [:] remote.pi501 = [:] remote.pi502 = [:] @@ -65,7 +65,7 @@ pipeline { sshPut remote: remote.pi504, from: 'nrpe', into: '/tmp' sshCommand remote: remote.pi504, command: 'cd /tmp/nrpe/; chmod +x setup.sh; sudo ./setup.sh' sshRemove remote: pi504, path: '/tmp/nrpe' - } + //} } } }