jenkins-job-builder/tests/publishers/fixtures/join-trigger002.xml
David Aguilar a580a6240c publishers: add "threshold" support to join-trigger
The joinTrigger plugin now accepts a resultThreshold field instead
of the evenIfDownstreamUnstable boolean.  Add support for a "threshold"
yaml field to manage this value.

Change-Id: I60ba999b963709a76854a4d50387d2b1eefae05f
Signed-off-by: David Aguilar <davvid@gmail.com>
2020-06-23 23:35:05 -07:00

23 lines
583 B
XML

<?xml version="1.0" encoding="utf-8"?>
<project>
<publishers>
<hudson.tasks.BuildTrigger>
<childProjects>project-1,project-2</childProjects>
<threshold>
<name>FAILURE</name>
<ordinal>2</ordinal>
<color>RED</color>
</threshold>
</hudson.tasks.BuildTrigger>
<join.JoinTrigger>
<joinProjects>cleanup</joinProjects>
<joinPublishers/>
<resultThreshold>
<name>FAILURE</name>
<ordinal>2</ordinal>
<color>RED</color>
</resultThreshold>
</join.JoinTrigger>
</publishers>
</project>