sud*_*hir 3 bitbucket webhooks jenkins
我最近在 jenkins(Jenkins ver. 2.113)中安装了 bit bucket 插件(Version-1.1.8)。我通过提供 url http://ipaddress:port/bitbucket-hook/为 Bitbucket 服务器上的项目配置了 Jenkins webhook 。当我尝试保存时,我不断收到错误无效的 url。我不确定为什么位桶不接受 IP 地址。我认为这可能是由于 ipaddress 没有被公开。
请帮忙。
仅供参考:IP 地址是静态的,并且没有为服务器配置 DNS。
Bitbucket Cloud ( https://bitbucket.org/ ) 只能通过公共 IP 访问,因此它只能与其他公共 IP 通信。如果您提供私有 IP,那么 Bitbucket 将无法访问它。(这是私有 IP 空间的预期性质。)
您至少需要有一个可公开访问的 IP,以便 Jenkins 可以接收传入的 webhook。
| 归档时间: |
|
| 查看次数: |
3577 次 |
| 最近记录: |