azure devops multiple custom condition in yaml
In case you run into a situation whereby you need to specify multiple condition in your task / job, you can try the following command :- condition : and( succeeded(), or(eq(variables[' Build.Reason'], 'PullRequest') , eq(variables['Build. SourceBranch'], 'refs/heads/ master')))