【发布时间】:2020-06-04 05:32:00
【问题描述】:
- 当我从 bitbucket 服务器配置 web-hook 时。有什么配置,我应该在 Jenkins 服务器中配置吗?例如:匿名用户的特殊权限.. 因为当我尝试测试连接时,我收到 403 错误。请参阅下面的错误详细信息。
- 在 webhook 中, Secret(Optiona) ,该字符串用于验证 Bitbucket 与您的端点之间的数据完整性。我需要在作为 Jenkins 服务器的端点中配置什么。完整性检查在这里是如何工作的?
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 403 No valid crumb was included in the request</title>
</head>
<body><h2>HTTP ERROR 403 No valid crumb was included in the request</h2>
<table>
<tr><th>URI:</th><td>/job/api-xxxxxx/job/stg/job/xxxxxxxxxxx/</td></tr>
<tr><th>STATUS:</th><td>403</td></tr>
<tr><th>MESSAGE:</th><td>No valid crumb was included in the request</td></tr>
<tr><th>SERVLET:</th><td>Stapler</td></tr>
</table>
<hr><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.4.27.v20200227</a><hr/>
</body>
</html>
【问题讨论】:
标签: jenkins jenkins-pipeline bitbucket bitbucket-server bitbucket-webhook