This is all saved in the database and it's a really bad idea to start playing around there.
the easiest way is to simply use the UI to change the repository.
You can also take a look at the Bamboo CLI : https://bobswift.atlassian.net/wiki/display/BCLI/Examples
It does have an updateRepository action.
The problem is that I forgot to do it before performing an maintenance, and now it does not start (or it is taking too long) because the error:
2014-05-22 16:12:03,196 INFO [4-BAM::PlanExec:pool-8-thread-2] [DefaultErrorHandler] Recording an error: Unable to detect changes : FOO-BAR1 : java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://old.host/project.git failed with code 128. Working directory was [.]., stderr: [fatal: https://old.host/project.git/info/refs not found: did you run git update-server-info on the server?]
The log message clearly indicates that Bamboo started... It comes from Plan triggering thread. Fix your build configuration and you should be fine. Unless there's something else that's stopping you from doing so, in which case you should contact Atlassian Support.
I know it would be a bad idea to start messing with configuration by changing it on the raw side (i.e. directly on the db).
However I have years of experience with TeamCity where I was sharing in read-only the configuration folders (the parts of the projects and builds, not the files with the passwords) and the file comparison was easying the process because even when you clone a setup and change only something, it is always useful to perform a check on differences: it makes your life easier.
Is there anything similar in Bamboo?
Any way to export the whole configuration for a build (or deployment setup, or repository) so I can compare it with another (working) setup and spot the differences (or the errors)?
After this check it becomes easier to just apply the changes from the UI.
How can I get the config from Bamboo?
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs