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') {
|
||||
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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user