Can a bamboo job wait to receive an incoming webhook?

Duncan Perrett November 5, 2021

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
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 8, 2021

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
AUG Leaders

Atlassian Community Events