jenkins-scripts/groovy/deploy.groovy
Primakov Alexandr Alexandrovich 9cc5f2734b groovy scripts
2024-08-05 18:47:45 +03:00

6 lines
531 B
Groovy

def deploy(String versionName, String staticFolderName) {
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)])
}
return this