diff --git a/Jenkinsfile b/Jenkinsfile index dec51a3..28fbcb7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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:/var/www/ent.sys.reslate.xyz" + } } } }