Just upgraded from Bamboo 6.1 to 6.5.1...can't upgrade to 6.6.1 yet due to incompatible plugins. Just upgraded Bitbucket server to 5.11.1. Both are linked to each other and there are no issues with Application Links.
- Documentation states in multiple places "Store your build specs in a Bitbucket repo". Plural specs, singular repo. In the Bamboo Project Settings there's an option to add a spec repo to the project.
- Is it possible to store multiple build specs in a single repo or is it only one build spec per repo? If so, what is the folder structure or naming convention to use?
- If one spec per repo then this isn't ideal because we will have to have a separate repo for each build so that Operations can ensure that all necessary information is present. If we store the specs file in the same repo as the application code then the Developers will be able to bypass Operations and make changes to the Specs file without Operations oversight.
- Followed this tutorial: https://confluence.atlassian.com/bamboo0605/bamboo-specs/bamboo-yaml-specs/tutorial-bamboo-specs-yaml-stored-in-bitbucket-server
- Step 2 is in the wrong place, it needs to be after Step 5.
- Using the bamboo.yml the "Dragon Slayer Quest" build gets created in the "Tutorial" project.
- Go to "View plan as Java Specs" and copy to PlanSpec.java....NOTE: Documentation all says "View plan as Bamboo Specs"
- Delete build project from Bamboo
- Delete bamboo.yml file, add PlanSpec.java file, and push to tutorial repo.
- Scanning tutorial repo in linked repositories shows "Error in Bamboo Specs" but log file is empty.
Should I be able to create a build plan manually via the GUI, export its to a Java Specs file, and then make changes via the repo to manage the job? Should I be able to take the exported JavaSpecs file and create the same build job again in the event that the build job gets accidentally deleted?
EDIT:
Found something in the atlassian-bamboo.log:
java.lang.IllegalStateException: Unable to locate pom.xml file in....
Looks like I have the same issue as here: https://community.atlassian.com/t5/Bamboo-questions/Bamboo-specs-troubleshooting/qaq-p/702910
Shouldn't I be able to just export an existing Build Plan, add that file to a repo, and have the build start being managed that way?