-
Notifications
You must be signed in to change notification settings - Fork 10
Update environment deployment attributes
Svyatoslav Reyentenko edited this page Aug 2, 2012
·
1 revision
updateEnvAttribute is a step that allows to modify environment deployment properties, visible on environment details screen.
Most popular use-case: provide deployed application url.
Name | Type | Mandatory | Description |
---|---|---|---|
items | Map<String, Map<String, String>> | Y | Specify attributes of environment to be updated, attribute description and attribute value. See examples |
steps {
provisionVms {
//...
exportTo = ["virtualMachines": "genesisVM"]
}
updateEnvAttributes {
precedingPhases = ["provision"]
phase = "finish"
items = {[
"appUrl": ["Genesis Application url" : "http://" + genesisVM[0].ip.address + ":8080/" ]
]}
}
}