Build validations for multiple pipelines on Azure Devops

How to customize build validations on Azure DevOps when using multiple pipelines on a single repository.