Fixed ci ssh
This commit is contained in:
parent
ae6a7a0ae1
commit
f3fc01cdb8
15
Jenkinsfile
vendored
15
Jenkinsfile
vendored
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user