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?
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:
- If you don't have Bamboo Specs project, create one.
- Go to your build plan and select Actions > Configure plan.
- On the plan configuration page, select Actions > View plan as YAML Specs.
- 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:
- If you don't have Bamboo Specs project, create one.
- Go to your deployment project and select ... > Edit project.
- On the deployment project configuration page, select ... > View project as YAML Specs.
- Copy generated YAML code to your code editor by putting it into the bamboo-specs/bamboo.yaml.
Cheers,
Steffen
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.