Jenkins-Bitbucket团队/项目无法在Bitbucket Cloud中找到任何回购

时间:2019-09-05 17:33:12

标签: jenkins bitbucket

在Jenkins(v2.164-2)中添加了一个新的Bitbucket团队项目,但在Bitbucket云中找不到任何存储库。

我尝试将Bitbucket分支源插件降级到v2.4.4(从v2.4.6降级),因为我在某处看到了该插件,但对我不起作用。

Scan Organization Folder的输出:

Started by user admin
[Thu Sep 05 17:29:45 UTC 2019] Starting organization scan...
[Thu Sep 05 17:29:45 UTC 2019] Updating actions...
Looking up team details of <team name>...
Connecting to https://bitbucket.org using jenkins/****** (Jenkins)
Could not resolve team details
[Thu Sep 05 17:29:45 UTC 2019] Consulting Bitbucket Team/Project
Connecting to https://bitbucket.org using jenkins/****** (Jenkins)
Looking up repositories of user <team name>
0 repositories were processed
[Thu Sep 05 17:29:45 UTC 2019] Finished organization scan. Scan took 0.11 sec
Finished: SUCCESS

此外,请注意无法解析团队详细信息

期望看到带有Jenkinsfile的仓库,但在我的团队中发现了0个仓库。

2 个答案:

答案 0 :(得分:0)

已安装插件Bitbucket Filter Project Trait,以便能够根据项目进行过滤。

答案 1 :(得分:0)

一个成功实现Bitbucket Branch Source Plugin对抗Bitbucket Cloud的案例。因此,“一个案例”并未在每个版本的 Jenkins 和插件上进行测试。

  • 凭据:设置 [2478416.927226] Out of memory: Kill process 19696 (clickhouse-serv) score 12 or sacrifice child [2478416.928855] Killed process 19696 (clickhouse-serv), UID 0, total-vm:46668916kB, anon-rss:1008480kB, file-rss:0kB, shmem-rss:0kB 类型的 Jenkins 凭据。
    Clickhouse = 用户注册的“应用密码”之一
    “个人设置”,具有 Username with passwordpasswordProjectsRepositories 的正确权限。

  • Owner:设置bitbucket域含义后的值,Pull Requests

然后存储库显示为下拉列表。

相关问题