How to analyse sh files in Sonar?

Ganapathy picture Ganapathy · Aug 17, 2015 · Viewed 7.3k times · Source

I need to analyse the shell scripts using the Sonar server.

The files that I have are of extension sh and would need to be analysed. But I don't see any plugin for the sh from the Sonar plugins.

Answer

G. Ann - SonarSource Team picture G. Ann - SonarSource Team · Aug 17, 2015

Assuming your .sh files are bash scripts or some approximate equivalent then you can't currently configure your SonarQube server to analyze them because there's no plugin that handles such scripting.

Sept 2018 Update

There's now a plugin in the Marketplace to read in i-Code CNES reports. i-Code CNES covers two flavors of Fortran and Shell.