在 Jenkins 中构建时间表
我正在开发一个 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有关下一个执行日期,请查看此处的下一个执行插件。
对于你的第二个问题。
您可以同时运行的构建数量可以在 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