|
This page last changed on Dec 07, 2009 by csut017.
Numeric Parameter
This will prompt the user to enter a numeric value when a force build is requested.
This parameter can then be used by a dynamic value in a task.
Version
Available from version 1.5
Examples
<numericParameter>
<name>MaxAllowedErrors</name>
</numericParameter>
<numericParameter>
<name>MaxAllowedErrors</name>
<display>Maximum Allowed Errors</display>
<description>What is the maximum allowed number of unit test errors?</description>
<default>5</default>
<minimum>0</minimum>
<maximum>10</maximum>
<required>false</required>
</numericParameter>
<project name="Test Project">
<sourcecontrol type="svn">
</sourcecontrol>
<triggers>
<intervalTrigger />
</triggers>
<tasks>
</tasks>
<publishers>
</publishers>
<parameters>
<numericParameter>
<name>MaxAllowedErrors</name>
<display>Maximum Allowed Errors</display>
<description>What is the maximum allowed number of unit test errors?</description>
<default>5</default>
<minimum>0</minimum>
<maximum>10</maximum>
<required>false</required>
</numericParameter>
</parameters>
</project>
Configuration Elements
| Element |
Description |
Type |
Required |
Default |
Version |
| default |
The default value to use. |
String |
No |
None |
1.5 |
| description |
The description of the parameter. |
String |
No |
None |
1.5 |
| display |
The display name of the parameter. |
String |
No |
None |
1.5 |
| required |
Is the parameter required? |
Boolean |
No |
false |
1.5 |
| maximum |
The maximum allowed value of the parameter. |
Double |
No |
1.79769e+308 |
1.5 |
| minimum |
The mimimum allowed value of the parameter. |
Double |
No |
-1.79769e+308 |
1.5 |
| name |
The name of the parameter. |
String |
Yes |
n/a |
1.5 |
 | Automatically Generated
Documentation generated on Monday, 7 Dec 2009 at 3:27:32 AM |
|