dfce2400bb
This change adds support to the Parameterized Build Trigger plugin for configuring boolean parameters. Change-Id: I797fe298248c2737095b39820382a8610a102d87 Also-by: Thanh Ha <thanh.ha@linuxfoundation.org> Signed-off-by: Kyle Rockman <kyle.rockman@mac.com>
58 lines
2.5 KiB
XML
58 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<project>
|
|
<builders>
|
|
<hudson.plugins.parameterizedtrigger.TriggerBuilder>
|
|
<configs>
|
|
<hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig>
|
|
<configs>
|
|
<hudson.plugins.parameterizedtrigger.NodeParameters/>
|
|
<hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
|
|
<properties>FOO="bar"</properties>
|
|
</hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
|
|
<hudson.plugins.parameterizedtrigger.BooleanParameters>
|
|
<configs>
|
|
<hudson.plugins.parameterizedtrigger.BooleanParameterConfig>
|
|
<name>PARAM1</name>
|
|
<value>false</value>
|
|
</hudson.plugins.parameterizedtrigger.BooleanParameterConfig>
|
|
<hudson.plugins.parameterizedtrigger.BooleanParameterConfig>
|
|
<name>PARAM2</name>
|
|
<value>true</value>
|
|
</hudson.plugins.parameterizedtrigger.BooleanParameterConfig>
|
|
<hudson.plugins.parameterizedtrigger.BooleanParameterConfig>
|
|
<name>PARAM3</name>
|
|
<value>false</value>
|
|
</hudson.plugins.parameterizedtrigger.BooleanParameterConfig>
|
|
</configs>
|
|
</hudson.plugins.parameterizedtrigger.BooleanParameters>
|
|
</configs>
|
|
<projects>build_started</projects>
|
|
<condition>ALWAYS</condition>
|
|
<triggerWithNoParameters>false</triggerWithNoParameters>
|
|
<buildAllNodesWithLabel>false</buildAllNodesWithLabel>
|
|
<block>
|
|
<buildStepFailureThreshold>
|
|
<name>FAILURE</name>
|
|
<ordinal>2</ordinal>
|
|
<color>RED</color>
|
|
<completeBuild>true</completeBuild>
|
|
</buildStepFailureThreshold>
|
|
<unstableThreshold>
|
|
<name>UNSTABLE</name>
|
|
<ordinal>1</ordinal>
|
|
<color>YELLOW</color>
|
|
<completeBuild>true</completeBuild>
|
|
</unstableThreshold>
|
|
<failureThreshold>
|
|
<name>FAILURE</name>
|
|
<ordinal>2</ordinal>
|
|
<color>RED</color>
|
|
<completeBuild>true</completeBuild>
|
|
</failureThreshold>
|
|
</block>
|
|
</hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig>
|
|
</configs>
|
|
</hudson.plugins.parameterizedtrigger.TriggerBuilder>
|
|
</builders>
|
|
</project>
|