jenkins-job-builder/tests/builders/fixtures/conditional-step-day-of-week003.xml
Somay Jain 85494b34c5 Support for more conditions type in conditions-buildstep plugin
Support for the following conditions -
* Build cause
* Day of week
* Execution node
* Files match
* Numerical comparison
* Regular expression match
* Time
* And
* Or

Change-Id: Ib65de726abf1dd4798d7dd451cd786c61c53742c
2015-07-13 23:35:24 +05:30

46 lines
2.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<project>
<builders>
<org.jenkinsci.plugins.conditionalbuildstep.singlestep.SingleConditionalBuilder>
<condition class="org.jenkins_ci.plugins.run_condition.core.DayCondition">
<daySelector class="org.jenkins_ci.plugins.run_condition.core.DayCondition$SelectDays">
<days>
<org.jenkins__ci.plugins.run__condition.core.DayCondition_-Day>
<day>1</day>
<selected>false</selected>
</org.jenkins__ci.plugins.run__condition.core.DayCondition_-Day>
<org.jenkins__ci.plugins.run__condition.core.DayCondition_-Day>
<day>2</day>
<selected>true</selected>
</org.jenkins__ci.plugins.run__condition.core.DayCondition_-Day>
<org.jenkins__ci.plugins.run__condition.core.DayCondition_-Day>
<day>3</day>
<selected>false</selected>
</org.jenkins__ci.plugins.run__condition.core.DayCondition_-Day>
<org.jenkins__ci.plugins.run__condition.core.DayCondition_-Day>
<day>4</day>
<selected>false</selected>
</org.jenkins__ci.plugins.run__condition.core.DayCondition_-Day>
<org.jenkins__ci.plugins.run__condition.core.DayCondition_-Day>
<day>5</day>
<selected>false</selected>
</org.jenkins__ci.plugins.run__condition.core.DayCondition_-Day>
<org.jenkins__ci.plugins.run__condition.core.DayCondition_-Day>
<day>6</day>
<selected>true</selected>
</org.jenkins__ci.plugins.run__condition.core.DayCondition_-Day>
<org.jenkins__ci.plugins.run__condition.core.DayCondition_-Day>
<day>7</day>
<selected>false</selected>
</org.jenkins__ci.plugins.run__condition.core.DayCondition_-Day>
</days>
</daySelector>
<useBuildTime>true</useBuildTime>
</condition>
<runner class="org.jenkins_ci.plugins.run_condition.BuildStepRunner$Fail"/>
<buildStep class="hudson.tasks.Shell">
<command>sl</command>
</buildStep>
</org.jenkinsci.plugins.conditionalbuildstep.singlestep.SingleConditionalBuilder>
</builders>
</project>