1

我们使用 Generic Webhook Trigger 将许多 jenkins 作业设置为 webhook 端点。

它大部分工作正常。使用令牌,它能够找到要为每个 webhook 事件运行的特定 Jenkins 作业。

但是有时我们会遇到以下错误消息的 404 错误:

{"jobs":null,"message":"Did not find any jobs with GenericTrigger configured! If you are using a 
token, you need to pass it like ...trigger/invoke?token=TOKENHERE. If you are not using a token, 
you need to authenticate like http://user:passsword@jenkins/generic-webhook... "}

想知道这种行为是否有任何原因?是因为通用 Webhook 触发器的标记是如何映射的,也许它会由于某些事件而偶尔重置?由于这个问题,我们遇到了可扩展性瓶颈,并且希望得到一些见解。提前谢谢!

在此处输入图像描述

4

0 回答 0