Skip to content

Error during SonarScanner execution #375

@imorlxs

Description

@imorlxs

Describe the bug
Sonar Source Analysis fails.

To Reproduce
Steps to reproduce the behavior:

  1. Make a fork of BioDynamo on a non-admin account (like mine)
  2. Make some commits and do a PR
  3. Wait until the error shows
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions