运行 某些 Jenkins 作业单独在一个节点上

Run certain Jenkins jobs alone on a node

有些 Jenkins 作业对内存的要求非常高。为了避免与内存相关的问题,我想将这些作业配置为在 运行ning 时阻止同一节点上任何项目的任何其他作业的执行。

我玩过 Throttle Concurrent Builds Plugin, but it looks to limit jobs only from the same project. Other plugin - Build Blocker Plugin 不会阻止其他作业成为 运行 而配置的作业是 运行ning.

是否有任何插件允许为某些作业配置 "single process" 模式?

在 "Throttle Concurrent Builds" 插件中有一个 "Multi-Project Throttle Categories" 选项。创建一个类别 "memory hogs" 并将所有使用大量内存的作业添加到该类别,然后使用 "Throttle this project as part of one or more categories"

配置限制