Why are there two different syntaxes for azure-pipeline system variables?

125 views Asked by At

As the ADO documenation on using system variables in pipeline conditions is not very clear, I came here to find an answer. But I found two.

condition: eq(variables.buildSourceBranchName, 'main')

and

condition: eq(variables['Build.SourceBranchName'], 'main')

give me the same result. Is there any difference? I so what is that difference?

0

There are 0 answers