Relative Content

Tag Archive for gitazure-devopsazure-pipelines

Git command to find all the file names (paths) all commits on certain branch

I’m currently struggling with Git and my idea of finding all path(s) for a certain Pull request.
In Azure devops when I create a PR from branch A to branch B I’m presented with all the files that have been changed and there respective paths, but now I need to figure out the same in a different pipeline but that’s where I get stuck.

Azure Devops pipeline with optional, manually triggered stage

I am using Azure DevOps YAML pipelines and have two stages – one is deploying to dev (is triggered by commit in master), and the second is checking pull requests (running tests and static analysis). These stages are executed based on variables, e.g. variables['Build.Reason'] or variables['Build.SourceBranchName'].