Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article explains how to get the list of deployment projects to a file in the Bamboo server using the app, Bamboo Command Line Interface.

Instructions

  • Use the getDeploymentProjectList to get a list of deployment projects based on regex filtering of project names.


    Execute the below CLI action with outputFormat 999:

    To get the list of all deployment projects in a project with Id, Name, Description, Plan fields.

    Code Block
    themeMidnight
    --action getDeploymentProjectList --outputFormat 999 --file projects.csv


    Below is the output of the file projects.csv:



...

Info
  • 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.

...