【发布时间】:2018-03-14 02:29:25
【问题描述】:
我有一个 Jenkins 工作 MASTER,其构建步骤使用“在其他项目上触发/调用构建”触发 3 个其他构建 J1、J2 和 J3。所有 3 个构建都列在同一部分(一个空格以逗号分隔 - “J2,J2,J3”),并选中“阻止直到触发的项目完成构建”。 J1和J2完成; 20 分钟后,构建步骤以“构建超时(20 分钟后)结束。将构建标记为失败。” J3 实际上在 28 分钟内运行完成(MASTER 日志似乎说 J3 已中止,但 J3 完成并成功。)
这个 20 分钟的时间限制从何而来?可以配置吗?
MASTER 有 60 分钟超时(构建环境:“Elastic/300%/3/60/min-as-shortest=checked”),J1 和 J2 也是如此。 J3 有 45 分钟的超时时间。所有 3 个作业都间接超时(唯一的“构建环境”设置是“使用另一个项目的构建环境”。)
11:27:40 Run condition [Always] enabling perform for step [Trigger/call builds on other projects]
11:27:40 Waiting for the completion of J1
11:36:49 J1 #20 completed. Result was SUCCESS
11:36:49 Waiting for the completion of J2
11:36:49 J2 #16 completed. Result was SUCCESS
11:36:49 Waiting for the completion of J3
11:47:40 Build timed out (after 20 minutes). Marking the build as failed.
11:47:40 Build was aborted
Windows Server 2012 上的 Jenmins 2.74;参数化触发器插件 2.35.2
【问题讨论】: