We have a devops template which contains boolean parameters like:
parameters:
- name: Foo
type: boolean
default: true
When we run command az pipelines run
, we could not pass boolean value through --parameters
option.
- If we try
--parameters Foo=$false
, it actually transfers"Foo": "False"
to the backend. - If we try
--parameters Foo=false
, it actually transfers"Foo": "false"
to the backend.