Repository Group creation fails for Bitbucket repos
search cancel

Repository Group creation fails for Bitbucket repos

book

Article ID: 425332

calendar_today

Updated On:

Products

VMware Tanzu Platform - Hub

Issue/Introduction

When creating a Repository Group for BitBucket repos, customer saw this error message when using the Test Connection feature:

Error testing repository https://bitbucket.########.com/scm/ad########X/ad########_bre.git: Cannot invoke "com.vmware.ensemble.graphql.generated.types.RepositorySCMType.ordinal()" because "scmType" is null

We understand from the customer these URLs use a Custom CA, but the error seems to happen even if they check the "Skip certificate verification” checkbox.
They also tried configuring a proxy for these BitBucket repos, but this also failed. 

Cause

We have identified the root cause of the issue here, and we will fix it in the January patch release. Our backend is not able to detect that this is a bitbucket instance, which is why it complains that the SCM type is null. The SCM type determines how we insert the credentials into the URL when we clone the repository. 

Resolution

In the January 2026 patch release, we will update our backend code to better infer that this is a Bitbucket instance.