0
我稱之爲網絡掛接詹金斯從Gitlab並得到以下錯誤:HTTP錯誤400訪問/ github-webhook /。勾應包含事件類型
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Error 400 Hook should contain event type</title>
</head>
<body>
<h2>HTTP ERROR 400</h2>
<p>Problem accessing /github-webhook/. Reason:
<pre> Hook should contain event type</pre>
</p>
<hr>
<i>
<small>Powered by Jetty://</small>
</i>
<hr/>
</body>
</html>
我做了什麼?我讀到這裏參考,但不工作:
Jenkins github plugin returns error 400 "Hook should contain event type"
爲什麼我再次問到類似的標題:
上述原因仍然不是爲我工作的解決方案。
我可以肯定的是:
我相信詹金斯可以連接到Gitlab,因爲我可以建項目「X」手動,沒有錯誤。我的問題在這裏,當我想自動構建時,我推到gitlab,我總是得到那個錯誤。誰能幫我 ?