Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,368,302
Community Members
 
Community Events
168
Community Groups

Can a bamboo job wait to receive an incoming webhook?

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/

1 answer

0 votes

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.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events