af5b5f7bf4
updated builders.py to support not condition for conditional_step Change-Id: Icf6f07ab4a53655d8f52c8793478afd6d93ae75c
18 lines
793 B
XML
18 lines
793 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<project>
|
|
<builders>
|
|
<org.jenkinsci.plugins.conditionalbuildstep.singlestep.SingleConditionalBuilder>
|
|
<condition class="org.jenkins_ci.plugins.run_condition.logic.Not">
|
|
<condition class="org.jenkins_ci.plugins.run_condition.core.FileExistsCondition">
|
|
<file>mytestfile</file>
|
|
<baseDir class="org.jenkins_ci.plugins.run_condition.common.BaseDirectory$Workspace"/>
|
|
</condition>
|
|
</condition>
|
|
<runner class="org.jenkins_ci.plugins.run_condition.BuildStepRunner$Fail"/>
|
|
<buildStep class="hudson.tasks.Shell">
|
|
<command>touch $WORKSPACE/mytestfile</command>
|
|
</buildStep>
|
|
</org.jenkinsci.plugins.conditionalbuildstep.singlestep.SingleConditionalBuilder>
|
|
</builders>
|
|
</project>
|