[NEW RELEASE] ShellCheck plugin 2.4.0

Hello,

I have released a new version of the SonarQube plugin to analyze Shell scripts with shellcheck:

Can you update the market place, please?

Thanks,

Sylvain

Hi Sylvain,

Done!

 
:smile:
Ann

Thanks

Is 2.4.0 compatible with version 9.1.0 of SonarQube Developer edition?

Hello,

It is but I’m going to release version 2.5.0 with additional rules and officially tested on SQ 9.1.

Regards,

Sylvain

Hello,
I installed the shellcheck plugin from sonarqube.
In the directory / opt / sonarqube / extensions / plugins I find the jar sonar-shellcheck-plugin-2.4.0.jar
When I try to scan a project with bash file I get the following error in log:
Error executing command: Cannot run program “shellcheck”: error = 2, No such file or directory
ERROR: Is the command installed and in the path?
ERROR: Hint: run the scanner in debug mode to get the complete stack trace
How can I solve the problem?

Hello,

As suggested, make sure Shellcheck is installed on the machine that is running the scanner and accessible from the PATH (executing the simple command “shellcheck” should work).

i have a question, the sonar doesn’t check the sh files…

ShellCheck plugin 2.5.0
sonarqube 10.4.1

my fault, I need to install the shellcheck tool

1 Like