使用Cloud Build和源存储库连接到BitBucket的问题 [英] Problems connecting to BitBucket with Cloud Build and Source Repositories

查看:126
本文介绍了使用Cloud Build和源存储库连接到BitBucket的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是GCP项目的所有者,并试图将BitBucket存储库连接为 Cloud Source Repos 中的镜像.还有一个基于BitBucket存储库的 Cloud Build 触发器.

I'm GCP project owner and trying to connect a BitBucket repo as mirror in Cloud Source Repos. Also have a Cloud Build trigger based on a BitBucket repo.

云源存储库中,在授予对我的帐户的访问权限之后,在配置镜像时,不会显示BitBucket的存储库,并显示以下内容:

In Cloud Source Repositories, after granting access to my account, while configuring a mirror, no repositories from BitBucket appear and the following is displayed:

Bitbucket帐户[用户名]无权访问任何帐户 Bitbucket存储库.您将需要授予此帐户权限 连接到Bitbucket中的存储库.

The Bitbucket account [username] doesn't have access to any Bitbucket repositories. You will need to grant this account permission to repositories in Bitbucket before you can connect them.

Cloud Build 触发器中,在授予权限对话框之后, Select信息库没有列出BitBucket存储库,并且 Continue 按钮显示为灰色.

In Cloud Build triggers, after the grant permissions dialog, Select repository lists no BitBucket repos and the Continue button is greyed out.

推荐答案

如果您的Bitbucket帐户仅具有对要镜像的存储库的读取或写入访问权限,则会出现此错误消息.检查您是否对Bitbucket具有管理员访问权限,然后重试.另外,在尝试建立连接时,请确保登录正确的Bitbucket帐户.

This error message will appear if your Bitbucket account only has Read or Write access to the repository you want to mirror. Check that you have Admin access on Bitbucket and try again. Also, make sure you're logged into the right Bitbucket account when attempting to make the connection.

这篇关于使用Cloud Build和源存储库连接到BitBucket的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆