Retreive the language version used for a analysis

We are using sonarqube version : * Version 8.9.10
Maven plugin sonar :

I would like to retreive the version used for language java which is used during a analysis. We already provide the variable during scan configuration. Is it possible to get this information by using api sonarqube?

I tried to used the api/measures/components but i don’t get the answer i Want.

Thank you.

Hey there.

You might be able to parse this information out of the scanner context for a specific Compute Engine task (GET api/ce/task), which is where analysis parameters like can be found.

And, overall, we don’t expect information like language version to be extracted from SonarQube. It’s just information used to refine the analysis.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.