Rule shellcheck:SC1091: Not following: properties.sh: openBinaryFile: does not exist (No such file or directory)
The normal way to resolve this is something like:
# shellcheck source=properties.sh
. "${SRC_ROOT}/Build/properties.sh"
In VisualStudio, this works perfectly, as it uses the the directory of the file as the search directory. However, this plugin under SonarQube doesn't, and so can't find this file. I assume that it is using the base of the project as the search directory? However, that means that I get different results when running locally, and running the scan on the server.
How is this normally resolved? I cannot see any way to configure this in the plugin?