Base Plugins and the `deployed` Object
important
Although the content in this topic is relevant for this version of Deploy, we recommend that you use the rules system for customizing deployment plans. For more information, see Getting started with Deploy rules.
You can write plugins for Deploy to customize deployment plans and behavior. Plugins are created by copying the built-in Generic, PowerShell, or Python plugin. This table provides information about what each plugin does and how it works.
Issue | Python | PowerShell | Generic |
---|---|---|---|
What does the plugin work with? | Valid Python files | Valid PowerShell files | FreeMarker templates |
How does the plugin use them? |
|
|
|
Special variables |
|
|
|
Which properties can be accessed on these variables? |
|
|
|
Expression language to work with variables | Python - variables are regular Python vars | PowerShell - variables are regular PowerShell vars | FreeMarker - supports the usual . syntax for property access (as in ) as well as other expressions such as [n] to access the n-th element of a list or set property and ["foo"] to access the value for key "foo" of a map property. For more information, see Retrieving variables. |