This documentation is for a release that is no longer maintained
See documentation for the latest supported version.3.6. (可选)集成 Bitbucket
如果要使用 Bitbucket 云来托管您的源代码,请完成以下步骤。
先决条件
您必须具有 Bitbucket 用户名。查找用户名:
- 在 Bitbucket 中的边栏上,单击您的个人资料图片,然后选择 View profile。
- 在侧边栏中,选择 Settings。系统在帐户设置中显示您的用户名。
- 您必须具有应用程序 密码。
流程
在 CLI 中,运行 integration 命令。将 $username 替换为您的 Bitbucket 用户名,将 $appPassword 替换为您的 Bitbucket 访问令牌。如果您要与自定义 Bitbucket 主机集成,请将 $URL 替换为您的 Bitbucket 主机 URL。如果使用默认的
bitbucket.org主机,您可以删除 the-host选项。rhtap-cli integration bitbucket --username="$username" --app-password="$access_token" --host="$URL"
$ rhtap-cli integration bitbucket --username="$username" --app-password="$access_token" --host="$URL"Copy to Clipboard Copied! Toggle word wrap Toggle overflow