jenkins-job-builder/tests/builders/fixtures/trigger-builds003.xml
Kyle Rockman dfce2400bb
Add support to configure boolean parameter in PBT
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>
2015-03-18 18:09:46 -04:00

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=&quot;bar&quot;</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>