diff --git a/Jenkinsfile b/Jenkinsfile index dd02636..018b0c8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -34,15 +34,12 @@ pipeline { stage('Deploy to printer1') { steps { script { - def remote = [ - name: 'printer1', - host: 'printer1.tombutcher.local', - user: 'ci', - port: 22, - credentialsId: 'ci_ssh', - allowAnyHosts: true - ] - + def remote = [:] + remote.name = 'printer1' + remote.host = 'printer1.tombutcher.local' + remote.user = 'ci' + remote.password = 'ci' + remote.allowAnyHosts = true // Upload the build folder sshPut remote: remote, from: 'build/', into: '/srv/farmcontrol-server/', flatten: false