-
Notifications
You must be signed in to change notification settings - Fork 78
customScanner broken / calls own shell script sonar-scanner
#141
Comments
Hey @robaca can you confirm this is still an a problem? Have you found a workaround? |
Hi @gabssnake we worked around the problem via
|
Thanks for the feedback! Do you want to try a PR? |
Hi @robaca, @gabssnake, If I understand correctly, the customScanner should work? Although not explicit on the README, should work if the local installation of Maybe the use case can be clarified on the sample usage documentation. |
Hi @gabssnake , Created PR : #157 for this. Also full disclosure, doing this as part of Hacktoberfest 2022. Thanks. |
Hi @romanbalayan, that makes sense. Also I think depending on the environment, it might be tricky to set. @robaca can you confirm that @romanbalayan suggestion works in your case? |
Hi @gabssnake, I agree that the specific step on how to set the environment variable is tricky (as this heavily depends on the system where the application will be running, etc) - but I guess its important to explicitly specify that it should be set. |
See #157 |
Hi,
we just have the issue, that we try to use the customScanner export, as we get another error when downloading the scanner via the library. Now we found out, that the
getLocalSonarScannerExecutable()
calls the own binary script from<module-root>/bin/sonar-scanner
instead of calling the correct binary from the path.As it's currently not possible to define a custom path explicitly, the customScanner functionality seems to be broken completely.
Best regards,
Carsten
The text was updated successfully, but these errors were encountered: