Shellcheck output is empty

Must-share information (formatted with Markdown):

  • which versions are you using
    *** SonarQube: serverVersion=8.5.1.38104
    *** shellcheck-plugin: sonar-shellcheck-plugin-2.3.0.jar
    *** sonar-scanner-cli (docker-image)=4.50
  • what are you trying to achieve
    *** checking a shell file and make the results visible in sonarqube server project
  • what have you tried so far to achieve this
    *** running the sonar-scanner-cli traces the following output
    sonarscanner_1 | 12:57:16.871 DEBUG: Executing command: [shellcheck, -x, -f, json, /usr/src/.sh]
    sonarscanner_1 | 12:57:18.197 DEBUG: Output from shellcheck:
    sonarscanner_1 | 12:57:18.200 INFO: Sensor ShellCheck Sensor [shellcheck] (done) | time=1331ms
    and i dont see any infos in the project view in sonar server
    *** running "shellcheck -f json <file.sh> traces lots of warns, errors

help is appreciated, thx a lot

Hi,

Welcome to the community!

You’re better off reporting this issue to the maintainers of that plugin; probably by filing an issue on the repo.

 
HTH,
Ann