Container Deployer
A Container Deployer build step.
Example. Adds a Container Deployer with HTTPS enabled.
buildType {
// Other Build Type settings ...
steps {
// Other Build Steps ...
containerDeployer {
name = "My Container Deployer build step"
targetUrl = "{hostname|IP}[:port]"
containerType = ContainerDeployer.ContainerType.TOMCAT_8_X
useHTTPS = true
username = "username"
password = "credentialsJSON:******"
sourcePath = "path/to/war"
}
Content copied to clipboard }
}
Content copied to clipboard
See also
Properties
Link copied to clipboard
Optional collection of build step execution conditions
Link copied to clipboard
Default "Manager" web app must be deployed to target Tomcat. User must have role "manager-script".
Link copied to clipboard
Build step execution mode
Link copied to clipboard
Path to WAR archive to deploy.
Functions
Link copied to clipboard
fun booleanParameter(customName: String? = null, trueValue: String? = "true", falseValue: String? = "false"): DelegateProvider<Boolean?>
Link copied to clipboard
Deletes all configured build step conditions
Link copied to clipboard
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
Link copied to clipboard
fun <E : Enum<E>> enumParameter(customName: String? = null, mapping: Map<E, String?>? = null): DelegateProvider<E>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Validates this object and reports found errors to the provided consumer