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.
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.