Fixed ci ssh

This commit is contained in:
Tom Butcher 2025-06-01 21:39:47 +01:00
parent ae6a7a0ae1
commit f3fc01cdb8

15
Jenkinsfile vendored
View File

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