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.
https://docs.sonarqube.org/latest/project-administration/webhooks/
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
etc..
jenkins appears to document a similar idea here - https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-jenkins/
Unfortunately it's not possible out of the box and the only option to achieve it is to configure Job 2 to curl Sonarqube with REST or HTTP call for status of scanning.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.