詹金斯(Jenkins)的工作存储并发送HTTP POST请求

发布于 2025-02-05 10:41:02 字数 209 浏览 4 评论 0原文

对于我通过HTTP Post API写的流量,我需要维护写入顺序。为此,我需要创建一个Jenkins作业,该作业通过每个请求通过远程API调用触发。

我的问题是,Jenkins是否有一个容易获得的插件可以做到这一点?在詹金斯(Jenkins)中有什么这样的东西可以存储API请求并继续触发作业(这将创建相关请求并发送),而队列不是空的?

如果失败,我需要重试并持有剩余的请求。

For my incoming write traffic via HTTP POST API, I need to maintain the order of writes. For this, I need to create a Jenkins Job that gets triggered via remote API call on each request.

My question is, does Jenkins have a readily-available plugin to do this? Is there any such thing as a Queue in Jenkins that stores API requests and keeps triggering a job ( which will create the relevant request and send it ) while the queue is not empty?

In case of failure, I need to retry and hold the remaining requests.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

樱&纷飞 2025-02-12 10:41:02

当您触发作业(远程或手动)时,工作将排队。除非您已使用多个作业执行者配置并行执行,否则将按顺序处理作业队列,并且在每个作业中可以指定失败时要做的事情。

说詹金斯没有办法仅存储HTTP请求。(至少OOB)并基于此触发作业。

When you trigger Jobs(Remote or manually) the Jobs will be queued up. Unless you have configured parallel execution with multiple Job executors, the Job queue will be processed in order and within each Job you can specify what you want to do on failure.

Having said that there is no way in Jenkins to just store HTTP requests.(At least OOB) and trigger Jobs based on that.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文