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 }
}See also
Properties
Optional collection of build step execution conditions
Default "Manager" web app must be deployed to target Tomcat. User must have role "manager-script".
Build step execution mode
Path to WAR archive to deploy.
Functions
Deletes all configured build step conditions
Configures build step conditions
Copies parameters of this object to the specified target
A list of records, each field of an item stored as a parameter of its own: parameter f of the n-th item, counting from 1, is stored as name.n.f. A script fills the list in the block of the parameter, see RecordList.
A record, each field stored as a parameter of its own: parameter f of the record is stored as name.f. A script fills the record in the block of the parameter; a record without parameters stores nothing.
Validates this object and reports found errors to the provided consumer