Changed to scp deployment.
This commit is contained in:
parent
568aa575e3
commit
ccfb6847de
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -27,7 +27,9 @@ pipeline {
|
||||
branch '**/master'
|
||||
}
|
||||
steps {
|
||||
sshPublisher(publishers: [sshPublisherDesc(configName: 'RS - Web Server', transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: '', execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaultExcludes: false, patternSeparator: '[, ]+', remoteDirectory: 'ent.sys.reslate.xyz', remoteDirectorySDF: false, removePrefix: '', sourceFiles: 'dist/**')], usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false)])
|
||||
sshagent(['13e00839-0608-4e91-8b9e-cce3818425f3']) {
|
||||
sh "scp -r dist/** www-data@sys.reslate.xyz:/srv/www/ent.sys.reslate.xyz"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user