jenkins无法连接到远程位桶存储库 [英] jenkins failed to connect to remote bit bucket repository
问题描述
我正在使用jenkins,并尝试连接到位存储桶远程存储库,因为我在git存储库中的源代码管理中提供了位存储桶URL,我还为凭证中添加的该位存储桶帐户创建了凭证
I am using jenkins and trying to connect to the bit bucket remote repository for that I provide the bit bucket URL in source code management in git repositories, I create the credentials also for that bit bucket account added in the credentials
我在git存储库中尝试了以下内容
I tried the below in git repositories
https://nagarjun123@bitbucket.org/gsmohan/quickride.git
但是它给出以下指定的错误:
But it gives the error below specified:
错误:无法连接到存储库:无法连接到 https://nagarjun123 @ bitbucket. org/gsmohan/quickride.git 使用凭据位桶帐户(状态= 401)
ERROR:Failed to connect to repository : Failed to connect to https://nagarjun123@bitbucket.org/gsmohan/quickride.git using credentials bitbucket account (status = 401)
有人可以帮助我吗?
推荐答案
将存储库地址更改为以下格式:
Change repository address to this format:
https://user:password@bitbucket.org/user/project_name.git
当然:
- 用户-您的位桶用户,
- 密码-您的位桶密码,
- project_name-项目/仓库名称,
这篇关于jenkins无法连接到远程位桶存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!