VCS Bitbucket Cloud authentication with OAuth?
Hello!
We just have updated our Teamcity server to version 2017.1.5 (build 47175) in order to be able to build sourcecode located our new Bitbucket Cloud GIT repositories.
Therefore we set up a Bitbucket Cloud connection with OAuth (using "Connections"), which seems to work fine.
When creating a new VCS root for GIT we are able to select the repositories from Bitbucket Cloud.
The fetch url looks like https://<user>@bitbucket.org/<teamname>/<repo>.git
But we are not able to use the OAuth authentication as authentication method for the VCS root.
Teamcity only offers user/password- or anonymous authentication.
How can we make Teamcity use the OAuth-token to authenticate with Bitbucket?
Thanks for helping & regards
J.Holzer
Please sign in to leave a comment.
Hi Jürgen,
The instructions for connecting via OAuth are here: https://confluence.jetbrains.com/display/TCD10/Integrating+TeamCity+with+VCS+Hosting+Services#IntegratingTeamCitywithVCSHostingServices-ConnectingtoBitbucket. Please be mindful of the notes at the end, as some repositories might not allow automatic authentication.
Hi,
We are experiencing the same problem with BitBucket Cloud connection. After selecting a repo from the list of repos in BitBucket we are directed to the step "Create Build Configuration From URL" where Username and Password / access token are provided. Could you please detail how to enable "automatic authentication" in BitBucket repositories in order to use the BitBucket Cloud connection when creating the VCS root?
Furthermore, when editing a VCS root there is no option to use the BitBucket Cloud connection under "Authentication Settings > Authentication method:". Will that option be added or have I misunderstood something?