jenkins-job-builder/tests/triggers/fixtures/reverse-list.xml
Thanh Ha 833fa2b928 Add support to reverse trigger for job list
Listing jobs as a comma separated list is fine with small amounts of
jobs however when this list gets too long it can be difficult to
maintain.

This patch adds support to list jobs as a list and the code will
automatically change it to a python separated list. Also retains support
for the old style comma separated list.

Change-Id: I0a419bb1f2ec83979f46990430f874381680cac8
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2015-06-27 06:37:58 -07:00

16 lines
418 B
XML

<?xml version="1.0" encoding="utf-8"?>
<project>
<triggers class="vector">
<jenkins.triggers.ReverseBuildTrigger>
<spec/>
<upstreamProjects>a,b,c</upstreamProjects>
<threshold>
<name>FAILURE</name>
<ordinal>2</ordinal>
<color>RED</color>
<completeBuild>true</completeBuild>
</threshold>
</jenkins.triggers.ReverseBuildTrigger>
</triggers>
</project>