Open
Description
Documentation issue
- Reporting a typo
- Reporting a documentation bug
- Documentation improvement
- Documentation feedback
Is there a specific documentation page you are reporting?
https://nx.dev/ci/recipes/set-up/monorepo-ci-azure
Additional context or description
-
PR trigger is not universally supported in ADO pipelines: https://learn.microsoft.com/en-us/azure/devops/pipelines/yaml-schema/pr?view=azure-pipelines#remarks. This documentation page should probably be linked in a comment.
-
Branch name used for the az pipelines CLI (
LAST_SHA=$(az pipelines build list --branch $(Build.SourceBranchName)...
) is incorrect. ADO incorrectly assumes that the branch name is everything after last "/", which gives wrong results in case prefixes like fix/example are used. See Build.SourceBranchName does not include full name, if name includes forward slash microsoft/azure-pipelines-agent#838 (comment) for an example of a workaround.
Activity