找不到通用 Webhook 触发器 Jenkins 插件的偶尔令牌

时间:2021-02-09 00:30:51

标签: jenkins jenkins-pipeline jenkins-plugins webhooks github-webhook

我们使用通用 Webhook 触发器将许多 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... "}

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

enter image description here

0 个答案:

没有答案
相关问题