sbaudoin / sonar-ansible

SonarQube plugin to analyze Ansible playbooks
Apache License 2.0
71 stars 17 forks source link

Ansible lint not sending complete report to Sonarqube #48

Closed Sandeeparch closed 2 years ago

Sandeeparch commented 2 years ago

Thanks for the plugin Having Issues on sending the report to Sonarqube:

Is there any exception that this plugin will send only specific code in sonarqube.

Because when I run the linting locally I'm getting lot of errors which are not showing in the sonarqube.

Could you pls help me by providing how the interation between Sonarqube and linting works. please let me know any more details.

Thanks in Advance.

sbaudoin commented 2 years ago

Hello,

Please can you provide more details about the issue you are facing, please?

Also make sure you have enabled all the rules in SQ: by default there is no rule enabled.

Thanks

Sandeeparch commented 2 years ago

Hello, Thanks for response, we updated YAML and ansbile version in sonarqube issue got resolved. Please find the updated details below.

Prev Version ansible-lint 2.4.0 & yaml 1.6.0

Updated To ansible-lint 2.5.1 & yaml 1.7.0

Since the issue is resolved we are closing in github. Thanks again .