This article explains how to get the list of deployment projects to a file in the Bamboo server using the Bamboo Command Line Interface app.
Instructions
Use the getDeploymentProjectList CLI action.
- getDeploymentProjectList: Get a list of deployment projects based on regex filtering of project names.
To get the list of deployment projects in a project:
- Log in as a Bamboo administrator. Ensure you have the deployment project with the environment defined.
- It is recommended to test the commands in a non-production environment, or run the action with --simulate parameter to verify the behavior before deploying.
- Ensure that the Bamboo Command Line Interface app is installed in your Bamboo instance.