Skip to content

Update environment deployment attributes

Svyatoslav Reyentenko edited this page Aug 2, 2012 · 1 revision

Step: 'updateEnvAttributes'

updateEnvAttribute is a step that allows to modify environment deployment properties, visible on environment details screen.

Most popular use-case: provide deployed application url.

Parameters

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

Example

steps {
   provisionVms {
      //...
      exportTo = ["virtualMachines": "genesisVM"]
   }
   updateEnvAttributes {
      precedingPhases = ["provision"]
      phase = "finish"
      items = {[
           "appUrl": ["Genesis Application url" : "http://" + genesisVM[0].ip.address + ":8080/" ] 
      ]}
   }
}
Clone this wiki locally