Atlassian has just shipped Bamboo 5.0 and its support for Deployments. Read about it here. Specific enablement is required to allow tasks to work in a deployment context. This has been done for all of our Bamboo plugins that provide build tasks so that the capabilities can be used during deployment activities. This means that things like running groovy scripts or Atlassian Command Line Interface (CLI) actions can be done as part of deployment. For example, you can add or update Confluence pages as the final task in a successful deployment scenario.