简体   繁体   中英

How to search for measures, corresponding to a specific project version?

I am using SonarQube 6.4 (build 25310, self-hosted). I'm able to search using id as demonstrated by this URL:

https://sonarqube.localhost.com/component_measures/metric/coverage/history?id=%AWESOME_API%

What other parameters can I use? I would want to search for a specific version that has been scanned.

Take a look at the measures/search_history service . It doesn't give you a version parameter, but you can search by date. So pinpoint your date using the project_analyses/search service , and then search for measures by date.

Note that file level measures are only retained for the most recent analysis.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM