I want a job to wait for the reception of an incoming webook POST HTTP request.
Specifically I want the job to await a webhook from sonarqube which signals when a static analysis is complete.
Job1 - Trigger sonarqube scan
Job 2 - Wait until sonarqube server has processed the analysis
Job 3 - Ask sonarqube server how many new issues were detected
jenkins appears to document a similar idea here - https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-jenkins/