Changed to scp deployment.

This commit is contained in:
Harrison Deng 2022-05-11 21:59:02 -05:00
parent 568aa575e3
commit ccfb6847de

4
Jenkinsfile vendored
View File

@ -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"
}
}
}
}