问题描述
我们使用通用 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 的标记是如何映射的,也许由于某些事件它会偶尔重置?由于这个问题,我们遇到了可扩展性瓶颈,希望得到一些见解。先谢谢了!
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)