Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new project registration from scratch can't pass sonar analysis #269

Closed
vdelendik opened this issue Oct 18, 2022 · 2 comments
Closed

new project registration from scratch can't pass sonar analysis #269

vdelendik opened this issue Oct 18, 2022 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@vdelendik
Copy link
Contributor

onPush fail first time during project registration:

[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar (default-cli) on project carina-crypto: No branches currently exist in this project. Please scan the main branch without passing any branch parameters. -> [Help 1]

to fix we have to remove branch name sonar param if onPush started by RegisterRepository job:
3b009b8#diff-7e58d6ef9b8b820c38bb9d9e25a9d4d486b25cdad53b77b2f0b38e9a710e52dcR60

@vdelendik vdelendik added the bug Something isn't working label Oct 18, 2022
@vdelendik vdelendik added this to the 1.9 milestone Oct 18, 2022
@vdelendik
Copy link
Contributor Author

let's test again using 9.5.0 sonarqube which is included into the CE, branch - develop.

@ghost
Copy link

ghost commented Apr 6, 2023

verifed, fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant