jenkins-job-builder/tests/publishers/fixtures/conditional-publisher002.xml
Dong Ma 741f315b26 Update copy-to-slave plugin
- update copy-to-slave plugin to use convert xml
- update docstring
- add plugin="copy-to-slave" attribute
- add new parameter 'run-after-result'

Change-Id: I2e2b67c8b12f494c274668b28d7c962e8abd8ce5
2016-10-08 05:55:39 -07:00

29 lines
1.4 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.contributed.ShellCondition">
<command>ls file*</command>
</condition>
<runner class="org.jenkins_ci.plugins.run_condition.BuildStepRunner$DontRun"/>
<publisher class="com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier" plugin="copy-to-slave">
<includes>file1,file2*.txt</includes>
<excludes>file2bad.txt</excludes>
<runAfterResultFinalised>true</runAfterResultFinalised>
<destinationFolder/>
</publisher>
</org.jenkins__ci.plugins.flexible__publish.ConditionalPublisher>
<org.jenkins__ci.plugins.flexible__publish.ConditionalPublisher>
<condition class="org.jenkins_ci.plugins.run_condition.core.AlwaysRun"/>
<runner class="org.jenkins_ci.plugins.run_condition.BuildStepRunner$RunUnstable"/>
<publisher class="hudson.tasks.test.AggregatedTestResultPublisher">
<includeFailedBuilds>true</includeFailedBuilds>
</publisher>
</org.jenkins__ci.plugins.flexible__publish.ConditionalPublisher>
</publishers>
</org.jenkins__ci.plugins.flexible__publish.FlexiblePublisher>
</publishers>
</project>