Jenkins 在通过 Bitbucket 服务器通知程序插件将构建状态推送到 Bitbucket 时抛出 502 Bad Gateway

mar*_*oja 5 proxy networking bitbucket jenkins jenkins-plugins

  • 我在 Bitbucket Server(存储)上有我的存储库。
  • 我在 Jenkins 服务器上只有一份工作。
  • 我安装并配置了适用于 Jenkins 的 Bitbucket Server Notifier 插件(以将构建状态推送到 Bitbucket)。
  • 我可以从 Jenkins 机器远程登录到我的 Bitbucket 服务器 URL。
  • 我可以通过 Jenkins 机器上的浏览器访问我的 Bitbucket 服务器 URL。

但是 Bitbucket Server Notifier 失败并出现错误 502:网关错误 - DNS 错误:

Notifying Bitbucket at "https://my.bitbucket.server.url"
Failed to notify Bitbucket for commit g55f45daf0ce678588171ef45g55h34g44 (<html><head><title>502 Bad Gateway</title></head>
<body><h1>DNS error</h1>
<p>DNS error (the host name of the page you are looking for does not exist)<br><br>Please check that the host name has been spelled correctly.<br></p>
<!--Zscaler/6.0--></body></html>
)
Finished: SUCCESS
Run Code Online (Sandbox Code Playgroud)

我感觉这可能是代理问题。有人可以建议吗?