question

GuoCindy-2456 avatar image
0 Votes"
GuoCindy-2456 asked DSPatrick answered

azure pipeline vairable not working

I tested the following pipeline yml file and get 1 when echo ${<!-- -->{ variables.isTestA }}. But why the result is false when I compare ${<!-- -->{ variables.isTestA }} and 1?


variables:
isTestA: $(deploy_env)

trigger:
- master

pool: 'Default'

steps:
- script: echo ${<!-- -->{ variables.isTestA }}
displayName: 'Run a one-line script'

  • script: |
    echo working
    condition: eq('${<!-- -->{ variables.isTestA }}', '1')

not-supported
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

DSPatrick avatar image
0 Votes"
DSPatrick answered

Devops / TFS is not currently supported here on QnA. The product group for Azure DevOps / TFS actively monitors questions over at
https://developercommunity.visualstudio.com/report?space=21&entry=problem
https://developercommunity.visualstudio.com/report?space=22&entry=problem

--please don't forget to upvote and Accept as answer if the reply is helpful--


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.