- GitHub
- Java
I don’t have any more details about the error because Sonar doesn’t provide any.
Hello @lehphyro , welcome to the community!
From our investigation:
- We can see there were successful analyses for this project in the past
- It looks like the project was never scanned using AutoScan in the past
- We can see an error message
ERROR: Project not found. Please check the ‘sonar.projectKey’ and ‘sonar.organization’ properties, the ‘SONAR_TOKEN’ environment variable, or contact the project administrator to check the permissions of the user the token belongs to
Could you please ensure that there is no sonar-project.properties
in your project?
Please also refer our documentation about this for more context
Hope this helps
Benjamin
The project was imported previously with a different name, I’ve deleted it and reimported and it worked, thanks.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.