ADO YAML question re: ‘enabled’ and variable
– powershell: |
write-host $(CxDebug)
displayName: Test Debug Var
enabled: true
The above code works.
I’d like to leverage a pipeline variable on the last line. When I add a variable and set it to ‘true’ – I get a YAML error prior to running the pipeline.
– powershell: |
write-host $(CxDebug)
displayName: Test Debug Var
enabled: $(CxDebug)
- powershell: |
write-host $(CxDebug)
displayName: Test Debug Var
enabled: true The above code works. I’d like to leverage a pipeline variable on the last line. When I add a variable and set it to ‘true’ – I get a YAML error prior to running the pipeline. – powershell: |
write-host $(CxDebug)
displayName: Test Debug Var
enabled: $(CxDebug) Read More