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') {
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