SMBUpload
An SMB Upload build step.
Example. Adds an SMB Upload build step with DNS only name resolution option enabled.
buildType {
// Other Build Type settings ...
steps {
// Other Build Steps ...
smbUpload {
name = "My SMB Upload build step"
targetUrl = """\\host\share[\subdir]"""
dnsOnly = true
username = """domain\username"""
password = "credentialsJSON:******"
sourcePath = """
dir/**/*.zip
*.zip => winFiles
unix/distro.tgz => linuxFiles
""".trimIndent()
}
Content copied to clipboard }
}
Content copied to clipboard
See also
Constructors
Properties
Link copied to clipboard
Optional collection of build step execution conditions
Link copied to clipboard
Build step execution mode
Link copied to clipboard
Newline- or comma-separated paths to files/directories to be deployed. Ant-style wildcards like dir/**/*.zip and target directories like *.zip => winFiles,unix/distro.tgz => linuxFiles, where winFiles and linuxFiles are target directories, are supported.
Functions
Link copied to clipboard
fun booleanParameter(customName: String? = null, trueValue: String? = "true", falseValue: String? = "false"): <Error class: unknown class><Parametrized, <Error class: unknown class><Parametrized, T?>>
Link copied to clipboard
Deletes all configured build step conditions
Link copied to clipboard
fun <T : CompoundParam<T>> compoundParameter(customName: String? = null): <Error class: unknown class><Parametrized, <Error class: unknown class><Parametrized, T?>>
Link copied to clipboard
Configures build step conditions
Link copied to clipboard
Copies parameters of this object to the specified target
Link copied to clipboard
Link copied to clipboard
fun doubleParameter(customName: String? = null): <Error class: unknown class><Parametrized, <Error class: unknown class><Parametrized, T?>>
Link copied to clipboard
fun <E : Enum<E>> enumParameter(customName: String? = null, mapping: Map<E, String?>? = null): <Error class: unknown class><Parametrized, <Error class: unknown class><Parametrized, T?>>
Link copied to clipboard
Link copied to clipboard
fun intParameter(customName: String? = null): <Error class: unknown class><Parametrized, <Error class: unknown class><Parametrized, T?>>
Link copied to clipboard
Link copied to clipboard
open fun stringParameter(customName: String? = null): <Error class: unknown class><Parametrized, <Error class: unknown class><Parametrized, T?>>
Link copied to clipboard
Validates this object and reports found errors to the provided consumer