Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

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
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

164 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you