-
Notifications
You must be signed in to change notification settings - Fork 57
Description
Describe the bug
Sonar Source Analysis fails.
To Reproduce
Steps to reproduce the behavior:
- Make a fork of BioDynamo on a non-admin account (like mine)
- Make some commits and do a PR
- Wait until the error shows
- See error
Expected behavior
Sonar Source Analysis working correctly.
Error message
10:14:55.617 DEBUG: Upload report 10:14:55.619 DEBUG: --> POST https://sonarcloud.io/api/ce/submit?organization=biodynamo&projectKey=BioDynaMo_biodynamo&projectName=BioDynaMo&characteristic=pullRequest%3D374 (263565-byte body) 10:14:56.084 DEBUG: <-- 404 https://sonarcloud.io/api/ce/submit?organization=biodynamo&projectKey=BioDynaMo_biodynamo&projectName=BioDynaMo&characteristic=pullRequest%3D374 (464ms, unknown-length body) 10:14:56.101 INFO: ------------------------------------------------------------------------ 10:14:56.102 INFO: EXECUTION FAILURE 10:14:56.102 INFO: ------------------------------------------------------------------------ 10:14:56.102 INFO: Total time: 2:52.936s 10:14:56.145 INFO: Final Memory: 37M/140M 10:14:56.145 INFO: ------------------------------------------------------------------------ 10:14:56.145 ERROR: Error during SonarScanner execution 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 10:14:56.147 DEBUG: Cleanup org.eclipse.jgit.util.FS$FileStoreAttributes$$Lambda$286/0x00000008012f5630@557286ad during JVM shutdown