Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

how to create yml file for build CI pipeline to version control it

LayMui-Toh March 22, 2021

currently bamboo CICDplan is configured using the UI

to make it easier to track changes by team members, 

how can I create yml file to version control the build and deployment pipeline?

how to convert the UI task to yml file and add as part of the source code?

1 answer

0 votes
Steffen Opel _Utoolity_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 30, 2021

Hi @LayMui-Toh, welcome to the Atlassian Community!

Presumably you have figured this out by now, just in case you are using an older Bamboo version which only supports Bamboo Java Specs - this feature is available as of Bamboo 7.1, you can follow the steps outlined in Exporting existing plan configuration to Bamboo YAML Specs:

In order to export an existing build plan to Bamboo Specs source code:

  1. If you don't have Bamboo Specs project, create one
  2. Go to your build plan and select Actions > Configure plan.
  3. On the plan configuration page, select Actions > View plan as YAML Specs.
  4. Copy generated YAML code to your code editor by putting it into the bamboo-specs/bamboo.yaml file.

To export an existing deployment plan to Bamboo Specs source code:

  1. If you don't have Bamboo Specs project, create one
  2. Go to your deployment project and select ... > Edit project.
  3. On the deployment project configuration page, select ... > View project as YAML Specs.
  4. Copy generated YAML code to your code editor by putting it into the bamboo-specs/bamboo.yaml.

Cheers,
Steffen

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events