jenkins-job-builder/tests/publishers/fixtures/conditional-publisher001.xml
Jaime Flynn 3066e73811 Added flexible publish support
Added support for the Flexible Publish plugin to the JJB publishers.
Updated documentation and unit tests as well.

Change-Id: Id72a4b01f451ae2613b24347afb6493bf7641cd1
2014-10-14 11:54:31 -05:00

32 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<project>
<publishers>
<org.jenkins__ci.plugins.flexible__publish.FlexiblePublisher>
<publishers>
<org.jenkins__ci.plugins.flexible__publish.ConditionalPublisher>
<condition class="org.jenkins_ci.plugins.run_condition.core.StatusCondition">
<worstResult>
<name>FAILURE</name>
<ordinal>2</ordinal>
<color>RED</color>
<completeBuild>true</completeBuild>
</worstResult>
<bestResult>
<name>SUCCESS</name>
<ordinal>0</ordinal>
<color>BLUE</color>
<completeBuild>true</completeBuild>
</bestResult>
</condition>
<runner class="org.jenkins_ci.plugins.run_condition.BuildStepRunner$Fail"/>
<publisher class="hudson.tasks.ArtifactArchiver">
<artifacts>**/**</artifacts>
<latestOnly>false</latestOnly>
<allowEmptyArchive>true</allowEmptyArchive>
</publisher>
</org.jenkins__ci.plugins.flexible__publish.ConditionalPublisher>
</publishers>
</org.jenkins__ci.plugins.flexible__publish.FlexiblePublisher>
</publishers>
</project>