-
Notifications
You must be signed in to change notification settings - Fork 29
Sonar 10.8 not supported #108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Yup, I'm seeing this too in our migration to 10.8 |
Hello, I cannot reproduce the problem with SonarQube Server DCE 2025.1 and Yaml plugin version 1.9.1. The scanner analysis completes correctly, and I only get warnings in the logs:
Strangely (but okay), I have both Ansible and Yaml issues in files where both plugins detect them. The behavior we have in our SonarQube instance confirms what I was thinking; this problem already happened when Sonar added Kubernetes analysis in SonarQube and, to what I have understood, had been fixed with this PR (merged in version 1.8.1 of the Yaml plugin). So I am confused that you run into this problem in SonarQube 10.7 or 10.8. |
We run into the same problem with Sonar 2025.1 and YAML Plugin version 1.9.1. |
Short update. I did some more tests. Our exact error message is And it seems to only happen for yml files which only contain one line which is a comment. Maybe you can now reproduce @gvrf2911 |
As reported here sonar yaml plugin last supported version is 10.7
YAML Analyzer when used with SonarQube 10.8 sonar.ansible.activate=true (default) creates error messages:
##[error]10:35:23.000 ERROR Cannot analyse 'roles/common/tasks/httpd.yml': Trying to save highlighting twice for the same file is not supported: roles/common/tasks/httpd.yml
The text was updated successfully, but these errors were encountered: