My goal is to scan a Java project built with Maven consisting of multiple modules. I receive the following error:
Failed to upload report: Error 504 on https://sonarqube.redactedHostname.biz/api/ce/submit?projectKey=redactedProjectKey&projectName=redactedProjectName&characteristic=branch%redactedBranch&characteristic=branchType%3DBRANCH
I am running Sonarqube scanner CLI and am specifying the modules using sonar.sources environment variable and sonar.exclusions where needed.
The sonarqube scan seems to be able to complete, but when the report tries to upload onto the sonarqube server, it appears that this is where it fails. I was able to get it to pass when I excluded all but a single module. This is the first and only project that I’ve ever seen this error on.
Is there a timeout setting or size setting for report uploads in the deployment that needs to get changed for these larger projects?
Currently running Sonarqube Enterprise Edition 10.1, AKS deployment using Helm, Sonarqube Scanner CLI on the latest version.