Jenkins "SCM Poll" 是 运行 吗?

Does Jenkins "SCM Poll" while a job is running?

我有一个由 Perforce SCM 投票触发的 Jenkins 构建。

即使 Jenkins 作业是 运行,投票是否会继续进行?还是只在作业之间轮询?

为了回答您的问题,我尝试了一些 google 搜索,但没有成功。无论如何,解决问题的最佳方法是进行实验

步骤#01

使用 git 设置测试作业作为源代码管理方法。

步骤#02

Build Triggers 部分,将此作业设置为 Poll SCM2 分钟

步骤#03

添加一个 Execute Shell 来设置我们的测试作业执行 2.5 分钟

Now let's see what happened.

  1. 首先,上次投票开始于 1:23:00 PM

  1. 其次,最新版本开始于 1:24:00 下午,应该在 下午 1:26:00 结束
  2. 但是你可以看到,无论构建仍然是 运行.
  3. ,投票在 1:25:00 PM 再次开始

So "Does Jenkins “SCM Poll” while a job is running?"
The answer is "YES"