ערוך

שתף באמצעות


variables.name definition

Define variables using name and full syntax.

variables:
- name: string # Required as first property. Variable name.
  value: string # Variable value.
  readonly: boolean # Whether a YAML variable is read-only; default is false.
variables:
- name: string # Required as first property. Variable name.
  value: string # Variable value.

Definitions that reference this definition: variables

Properties

name string. Required as first property.
Variable name.

value string.
Variable value.

readonly boolean.
Whether a YAML variable is read-only; default is false.

Remarks

If you want to reference a variable group and define variables in the same variables section, you must use define your variables using name and full syntax.

Examples

variables:
- name: one
  value: initialValue
- name: two
  value: value2

See also