Capture output from sonar-scanner ran via docker container?

Deleted user June 26, 2018

We're running sonar-scanner via a docker container and a command script on our remote Bamboo agents. I just installed the plugin and tried linking that command script as the sonar-scanner executable but it didn't work.

Is there any way to just have the plugin parse the output from the logs of the container? They already show up in the build log.

1 answer

0 votes
Michael Rüegg _Mibex Software_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 17, 2019

Hi,

Please excuse my very late response.

No, unfortunately this is not possible. You cannot use the app to just scan the build log and use a command script for triggering the analysis. The app can only analyze the build log if it also executes the Sonar analysis.

Please let me know if this answers your question.

Best regards,
Michael

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events