Project or branch in report (xxx) does not match the project or branch

Template for a good new topic, formatted with Markdown:

  • ALM used (GitHub, Bitbucket Cloud, Azure DevOps)
    Bitbucket Cloud,
  • CI system used (Bitbucket Cloud, Azure DevOps, Travis CI, Circle CI

Bitbucket Cloud,

  • Scanner command used when applicable (private details masked)
  • pipe: sonarsource/sonarcloud-scan:3.0.0
  • Languages of the repository
    js/ts
  • Only if the SonarCloud project is public, the URL
    • And if you need help with pull request decoration, then the URL to the PR too
  • Error observed (wrap logs/code around with triple quotes ``` for proper formatting)
    Project or branch in report (xxx) does not match the project or branch under which it was submitted (xxx:BRANCH:integration)
  • Steps to reproduce
    build project, try to view analysis, see error happened, and check error log
  • Potential workaround

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

Hi,

Welcome to the community!

It’s not clear to me what the problem is. You mention an error. Can you provide the actual error message, ideally in the context of the full analysis log?

The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.

This guide will help you find them.

 
Thx,
Ann

1 Like