How to get source branch name in Azure Build Validation

Viewed 1004

So I'm trying my hands out on Azure Pipelines, and I'm looking at the Build Validation, Here 've specified a pipeline to execute whenever a PR is created using the YAML method.

Now my question is how do I get/grab the name of the source branch so that I can deploy that for validating it against the test cases?

1 Answers
Related