Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

All configuration variables can be assigned a prompt type which enables users to set a variable's value when queuing a manual build. The Which variable prompt types that are available depend depends on the the variable type. For example, DateTime variables can only have a DateTime Date and Time prompt type.

Note that if no prompt type is specified then users cannot change a variables value when a build is queued manually. Also, only configuration variables can be given prompt types as they are the only variables that can be modified when a build is queued.

...

Continua CI includes the following prompt types:

 

Text

The text prompt type enable allows users to override the variables value with any text. As shown below, text prompt types do not limit what the user can enter for the variable's value.

The Text prompt text prompt type can only be used on text variable types.

...

The memo prompt type is the same as the text prompt type except the users can enter values in a larger text area.

The Memo memo prompt type can only be used on text variable types.

...

The password prompt type enable users to override variables with any text, however it also masks the input. To change the value of a password prompt type, the user must first 'unlock' the field by clicking the lock button. If the field remains locked then the original value will be used. If the field is unlocked, the variable's value will be changed to whatever is entered in this field. Note that an unlocked, empty field will set the variable value to empty.

The Password password prompt type can be used on text and password variable types.

...

An 'unlocked' password field

...

Number

The numeric number prompt type limits users so that they can only enter numeric values.

The numeric number prompt type can be used on text and numeric variable types.

 

Date and Time

The date and time prompt type limits the user so they can only enter a full date time. Note that the datetime is entered in our local time but will be stored on the server in UTC time.

If your variable does not have a default value then the default value shown in the queue dialog will be the current date time. If an invalid datetime is saved as the variable's default value, it will also display the current datetime.

The Date Time date and time prompt type can be used on text and date time variable types.

...

The time span prompt type asks the user to enter a time length for the variable.

The Time time prompt type can be used on text and time variable types.

...

The date prompt type limits the user so they can only enter a date without the time component.

The Date date prompt type can be used on text and date variable types.

...

The Time prompt type can be used on text and time variable types.

...

Dropdown Select

The selection dropdown select prompt type limits the user so that they can only pick one specific value. These values are pre-defined predefined on the variable itself.

Each value must be on a new line when defining your values.

The Selection prompt dropdown select prompt type can be used on text and numeric variable types.

This figure demonstrates how you define your selection values.

Image RemovedImage Added

The figure below shows what the user will see when they manually queue a build.

...

Checkbox Select

The multiple selection checkbox select prompt type limits allows the user so that they can pick multiple specific to pick one or more values from a list of values. These values are pre-defined predefined on the variable itself. 

Each value must be on a new line when defining your values.

The Multiple Selection prompt checkbox select prompt type can only be used on text variable types.

This figure demonstrates how you define your selection values.

Image RemovedImage Added

The figure below shows what the user will see when they manually queue a build.

Image Removed

Boolean

Image Added

Note, if multiple values are selected, then the variable value will be set to comma-separated list e.g. "value 1","value 2". You can use the In and Not In expression operators to to check for a value in these lists.

Single Checkbox

The single checkbox The boolean prompt type limits the user so they can only tick true or false for the variable value. This is shown on the queue dialog as a checkbox, as shown below.

The Boolean single checkbox prompt type can only be used on text variable types.

...