使用Bitbucket Webhook触发詹金斯

时间:2019-10-11 20:00:46

标签: jenkins bitbucket webhooks

我设置了一个詹金斯管道,我试图使用bitbucket上的一个Webhook触发管道构建。

当前,我为Webhook添加的URL的格式为https://jenkins.myapp.com/bitbucket-hook/

但是,在bitbucket中,出现以下错误:

<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</h2>
<p>Problem accessing /bitbucket-hook/. Reason:
<pre>    No valid crumb was included in the request</pre></p><hr><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.4.z-SNAPSHOT</a><hr/>

</body>
</html>

我已经弄碎了面包屑,但是我不知道如何将其添加到Bitbucket Webhook中。请问我该怎么做?

0 个答案:

没有答案