deploy config name as parameter
Some checks failed
platform/bro-js/jenkins-scripts/pipeline/head There was a failure building this commit

This commit is contained in:
Primakov Alexandr Alexandrovich 2024-11-06 23:56:25 +03:00
parent c7b1b2fdf3
commit 815a3d8838

View File

@ -1,5 +1,5 @@
def deploy(String versionName, String staticFolderName) { def deploy(String versionName, String staticFolderName, String sshConfigName = 'bro-js-static') {
sshPublisher(publishers: [sshPublisherDesc(configName: 'bro-js-static', transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: '', execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaultExcludes: false, patternSeparator: '[, ]+', remoteDirectory: staticFolderName, remoteDirectorySDF: false, removePrefix: '', sourceFiles: "${versionName}/**")], usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: true)]) sshPublisher(publishers: [sshPublisherDesc(configName: sshConfigName, transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: '', execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaultExcludes: false, patternSeparator: '[, ]+', remoteDirectory: staticFolderName, remoteDirectorySDF: false, removePrefix: '', sourceFiles: "${versionName}/**")], usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: true)])
} }
return this return this