My client has a Jenkins job that queries for issues (using curl against web API) on a project after running Gradle Sonarqube runner against the project. But if the curl call hits the API too soon (while the Sonarqube server is still churning on the latest results), it may return a false green.
It’d be useful if there were a method in the web API to check if an analysis is in progress for a particular project. I don’t see a way to do that currently. Please correct me if I’m mistaken.