-
-
Notifications
You must be signed in to change notification settings - Fork 620
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
Go test report with SonarQube format: Failed to parse unit test report line (file gosec-report.json): { #571
Comments
Can you try to use that format instead of |
I think you can use instead the |
@ccojocar
|
Good to hear this. Is this related to the report format or is due to something else in SonarQube? Did you also try the generic format? |
@ccojocar It works beautifully though when using |
@crunchtime-ali yes please! Thanks |
I amended some details to the README file. |
Thank you, @ccojocar. I didn't get around to it yet. You should probably replace parts of my specific URI in the property with a more generic one such as: |
Thanks for suggestion. I fixed the path: #573 |
Summary
I use
gosec
to create a report that can be submitted to SonarQube (8.5) withsonar-scanner
.As shown below in greater detail I get the following error when using
-fmt=sonarqube
:You can also find the generated
gosec-report.json
file at the bottom of this issue.Steps to reproduce the behavior
gosec version: 2.6.1
Go version: 1.15.7
Operating system / Environment
Expected behavior
The test report is submitted to SonarQube.
Actual behavior
gosec-report.json:
The text was updated successfully, but these errors were encountered: