在 Jenkins 中构建时间表

发布于 2025-01-03 11:55:27 字数 560 浏览 1 评论 0原文

我正在开发一个 POC,目前使用 Jenkins 作为 CI 服务器。我根据某些生命周期阶段(例如测试套件和质量检查)设置作业。我已将这些作业配置为基于 cron 表达式的计划构建。

我有一个请求,想知道如何根据我创建的作业找出 Jenkins 中的下一个计划构建是什么。我知道上次成功的构建是什么,上次失败的构建是什么,但我不知道下一个建议的构建。有什么线索吗!?或者有没有这样的视图插件?抱歉,如果这是一个奇怪的请求,但我需要找出答案。

此外,我还需要发现当多个作业同时运行时是否存在问题会发生什么。我会理解这不是问题。我没有任何从站设置,我只有主站。

Jenkins 版本:1.441

我找到了第一期!

https://wiki.jenkins-ci.org/display/JENKINS/Next+Executions

那么你能帮我解决第二个问题吗?同时建设多个就业机会是否存在问题?

谢谢, 谢恩.

I am working on a POC currently using Jenkins as CI server. I have setup jobs based on certain lifecycle stages such as test suite and QA. I have configured these jobs to become scheduled builds based on a cron expression.

I have a request to know how to find out what the next scheduled build will be in Jenkins based on the jobs i have created. I know what was the last succesful build, the last failed but i dont know the next proposed build. Any clues!? Or is there a view plugin for this? Sorry if this is a strange request but i need to find out.

Also i need to discover if there is an issue when more than one job is running concurrently what will happen. I would have understood this is not an issue. I do not have any slaves setup, i only have the master.

Jenkins version: 1.441

I found the first issue!

https://wiki.jenkins-ci.org/display/JENKINS/Next+Executions

So can you help me on the second question please? Is there any issue with more than one job building concurrently?

Thanks,
Shane.

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

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

发布评论

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

评论(1

梦旅人picnic 2025-01-10 11:55:27

有关下一个执行日期,请查看此处的下一个执行插件。

对于你的第二个问题。
您可以同时运行的构建数量可以在 jenkins 服务器参数(http:///configure : executors param)中进行配置。
如果执行器数量达到,触发的每个新作业将被添加到 jenkins 的执行队列中,并在一个正在运行的作业结束时运行

For the next execution date take a look at Next Execution Plugin here.

For your second question .
The number of build you can run concurrently is configurable in the jenkins server params(http:///configure : executors param).
If the number of executor is reached each new job triggered will be add in jenkins's execution queue and will be run when one running job will end

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