jenkins-job-builder/tests/publishers/fixtures/trigger_success.xml
Philippe Godin 3faf544887 Add best and worst status details for conditional-step plugin.
In order for the conditional step plugin to work properly, a more
detailed status is required otherwise the current build status is not
evaluated properly and is set to SUCCESS in all cases.
A local mapping of the java hudson.model.Result class was created to
unify build statuses names, ordinal and color scheme.

Change-Id: If8a0090b7cd51551ef6756361f6e45af3df1218d
2014-02-10 12:08:40 -05:00

13 lines
325 B
XML

<?xml version="1.0" encoding="utf-8"?>
<project>
<publishers>
<hudson.tasks.BuildTrigger>
<childProjects>other_job</childProjects>
<threshold>
<name>SUCCESS</name>
<ordinal>0</ordinal>
<color>BLUE</color>
</threshold>
</hudson.tasks.BuildTrigger>
</publishers>
</project>