问题描述
我在 Jenkins 有两份工作:QA 和 Dev.在开发作业中,我选中了在构建其他项目后构建"选项并设置项目名称 = QA,以便在构建开发作业后构建 QA 作业.但在我的特殊情况下,我需要在开发工作构建后 5 分钟内开始构建 QA 工作.我该怎么做?也许我可以用一些数据添加一些构建步骤来添加这个延迟?
I have 2 jobs in Jenkins: QA and Dev.In Dev job I checked "Build after other projects are built" option and set project name = QA so that QA job will be built after Dev job is built.But in my particular situation I need that QA job started building in 5 mins after Dev job is built. How can I do it? maybe I can add some build step with some data to add this delay ?
TIA,安娜
推荐答案
有一个静默期" 可用的高级项目选项中的选项.您可以输入 300(以秒为单位)的值以将作业的开始延迟 5 分钟.
There is a "Quiet Period" option in the Advanced Project Options available. You can enter a value of 300 (its in seconds) to delay the start of the job by 5 mins.
这篇关于詹金斯:一个接一个地建立工作,有一些延迟的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!