erlang Jenkins多配置,忽略失败的构建

jtjikinw  于 2022-12-08  发布在  Erlang
关注(0)|答案(2)|浏览(148)

I've setup a Jenkins multi-configuration project in order to run builds on two different slave environments (Erlang R15B03 and Erlang 17.3). This in order to start preparing our projects for actual release on an 17.3 production environment.
Currently the 17.3 build for all projects is failing because of dependency failures which need to be fixed as we go along, and the R15B03 builds are all passing.
How can I make it so that Jenkins (for now) ignores the 17.3 result and will pass the build as succesful if the R15B03 build passes?

kadbb459

kadbb4591#

如果 * 任何 * 地方出了问题,让一个构建通过并不是一个好主意。这就像注解掉失败的测试以便以后修复它们一样--你忘记了它们。
您可能应该为R15和17设置两个单独的jenkins构建版本。这样,每次您都会看到,R15 B 03通过了,而17.3没有,直到您修复了所有依赖项。

tcbh2hod

tcbh2hod2#

您可以使用parameterized trigger plugin来拥有条件触发器。将您的多配置项目设置为始终触发,然后检查参数以决定要触发哪个下游构建。

相关问题