Changed to using Jenkins ssh publishing plugin for CI.

This commit is contained in:
Harrison Deng 2022-04-21 12:14:28 -05:00
parent 1a3ca5a67e
commit 9096fcd3be

4
Jenkinsfile vendored
View File

@ -14,9 +14,7 @@ pipeline {
branch '**/master'
}
steps {
sshagent(['63d79efc-7b2b-43d6-87ad-90edebf74b1b']) {
sh "scp -r dist/** www-data@sys.reslate.xyz:/var/www/ent.sys.reslate.xyz"
}
sshPublisher(publishers: [sshPublisherDesc(configName: 'Reslate Systems Web Server', transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: '', execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaultExcludes: false, patternSeparator: '[, ]+', remoteDirectory: 'www/ent.sys.reslate.xyz', remoteDirectorySDF: false, removePrefix: '', sourceFiles: 'dist/**')], usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false)])
}
}
}