diff --git a/Jenkinsfile b/Jenkinsfile index 91e21e4..f0e3629 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: 'jenkins')]) { + withCredentials([sshUserPrivateKey(credentialsId: 'jenkins', keyFileVariable: 'identity', passphraseVariable: '', usernameVariable: 'userName')]) { def remote = [:] remote.pi501 = [:] remote.pi502 = [:]