Skip to content
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

Add Support for SonarQube Version 2025.1 #429

Open
SuhovDE opened this issue Jan 24, 2025 · 1 comment
Open

Add Support for SonarQube Version 2025.1 #429

SuhovDE opened this issue Jan 24, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@SuhovDE
Copy link

SuhovDE commented Jan 24, 2025

The plugin currently does not support SonarQube version 2025.1.0.102418. When attempting to use the plugin with this SonarQube version, the following errors and warnings are encountered:

SonarQube online: true
Detected SonarQube version: 2025.1.0.102418
[WARNING] This SonarQube version is not supported by this cnesreport version.
[WARNING] For further information, please refer to the compatibility matrix on the project GitHub page.
[ERROR] Not found error sent by SonarQube server (code 404, URL http://sonarserver/api/measures/component?component=Fiplan_Messenger&metricKeys=ncloc,violations,ncloc_language_distribution,duplicated_lines_density,comment_lines_density,coverage,sqale_rating,reliability_rating,security_rating,alert_status,security_review_rating,complexity,function_complexity,file_complexity,class_complexity,blocker_violations,critical_violations,major_violations,minor_violations,info_violations,new_violations,bugs,vulnerabilities,code_smells,reliability_remediation_effort,security_remediation_effort,sqale_index,tests,test_errors,test_failures,skipped_tests,test_success_density&branch=%, Error {"errors":[{"msg":"The following metric keys are not found: function_complexity, file_complexity, class_complexity"}]}), please check cnesreport compatibility with your SonarQube server version.

The report fails to process due to unsupported metrics (function_complexity, file_complexity, class_complexity) and compatibility issues with the specified SonarQube version.

@SuhovDE SuhovDE added the enhancement New feature or request label Jan 24, 2025
@taichiswag
Copy link

Yes please, this enhancement is required.

INFO: SonarQube online: true
Jan 27, 2025 9:25:33 AM fr.cnes.sonar.report.ReportCommandLine execute
INFO: Detected SonarQube version: 25.1.0.102122
Jan 27, 2025 9:25:33 AM fr.cnes.sonar.report.ReportCommandLine execute
WARNING: This SonarQube version is not supported by this cnesreport version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants