Hello Bamboo experts ,
I am using Atlassian Bamboo version 8.1.8 build 80116
I have existing bamboo build plans that were running fine till I migrated the bitbucket repositories used by these build plans to a different host ( and hence a new URL) .
Sadly since the original host is not reachable - bamboo web gui does not allow me to examine repositories
Deleting and recreating the repositories is a risky option because the branch information is embedded in repository definitionion and since the repository information no longer shows up in web gui
It seems that the repository database information in database is kept in XML documents and I'd possibly need Xpath expressions to extract host information.
I need accurate branch and repository information to avoid breaking build plans if I use worng branches.
So I need a way to
- either change the host URL through database
- or to examine the repositories through database to extract repository and branch information and then recreate the repositories
I am seeking ideas on how to go about any of above
Thanks a lot for your help
Yogesh
Hello @yogesh_devi
Bamboo allows you to change the repository URL by recreating its Application Link and resaving each Linked Repository so it will "catch" the new Git SSH URL. Please check the following documentation for more instructions:
Depending on the number of Plans x Repositories you have, you may also consider applying the workaround listed on the following Feature Request to make the changes in bulk:
Best regards,
Eduardo Alvarenga
Atlassian Support APAC
--please don't forget to Accept the answer if the reply is helpful--
Hello @Eduardo Alvarenga a huge thanks for this.
Updating the SSH URL using process decribed in https://jira.atlassian.com/browse/BAM-18273 was a perfect solution that I needed
It did solve my problem
( And just to clarify - this is the way I could achieve my first listed option"change the host URL through database" )
Much appreciated
Best regards
Yogesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.