I’ve created a pipeline that analyses builds which works perfectly, however I’m unable to see pull request analysis for pull requests. This only appears to be a problem when using an organised branching structure.
For example, creating a pull request of feature/123-some_feature into release/vnext. I can see the full analysis perfectly fine, when viewing the pull request I can see there’s a warning telling with the following content - “Could not find ref ‘vnext’ in refs/heads, refs/remotes/upstream or refs/remotes/origin. You may see unexpected issues and changes. Please make sure to fetch this ref before pull request analysis.”
The analysis task outputs the following:
12:50:28.006 INFO: Pull request 1234 for merge into vnext from some_feature
12:50:28.270 WARN: Could not find ref: vnext in refs/heads, refs/remotes/upstream or refs/remotes/origin
I’m unsure if I’m missing some configuration or if there’s a genuine problem. It’s quite common for people to use git-flow like branching structures. release/ hotfix/ etc.