How does Bamboo keep track of version control changes? We recently moved a repo to a new domain and Bamboo couldn't relocate when checking for changes.
Is it a directory location on the Bamboo server or the remote agent?
Thanks for the info.
Does Bamboo create a checkout on the server to keep track of changes? I changed the url to the new location and Bamboo still gave me an error.
The only way I could get it to work was to delete the repository item in the plan and create a new one.
We will be moving our repos onto a new location soon and it would be great to automate this. So if Bamboo does have checkouts on the server I can run a script to update them without having to delete and recreate all the information.
1) What is your VCS system?
If you use Git or Mercurial then Bamboo maintains a clone of the repo on the server to speed up the change detection.
In case of SVN or CVS it simply 'asks' the server for the most recent version.
2) What kind of error do you get?
Here's the thing: if you change definition of repository (e.g. server url) in Bamboo, the system will consider this as 'new' repo and should automatically 'reset' the change detection on the next change detection cycle. After that happens, any new commit to the new location should be picked up by Bamboo.
In other words: all the internal stuff Bamboo maintains to keep track of changes should be cleaned automatically.
There is a limitation: Bamboo can't tell if the repository is moved or is it completely new, so it will assume the latter, just in case. Nevertheless, you shouldn't be required to take manually cleanup any Bamboo internals to get it working after VCS relocation.
Side note: it might be a good idea to take this issue to Atlassian Support.
We use Subversion.
Bamboo reported the standard svn error “Repository moved permanently to <> please relocate”.
Even after changing the repo url to the new one I still saw this error, almost as if Bamboo didn't register the change.
However I did re-run the failed build instead of starting a new build, maybe thats the problem.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
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