I'm trying to capture webhooks for when the pipeline is created and updated as per https://confluence.atlassian.com/bitbucket/event-payloads-740262817.html#EventPayloads-Updated
I'm wondering if there is any way to discern which stage is in progress, completed or failed. It seems very generic at the moment. At the moment the response object looks like so:
{ "commit_status" : { key:"-1081267614" description:"" repository:Object url:"https://bitbucket.org/<redacted>/webhooktest/addon/pipelines/home#!/resu..." links:Object refname:"master" state:"INPROGRESS" created_on :"2019-01-02T11:57:47.272325+00:00" commit:Object updated_on:"2019-01-02T11:57:47.272364+00:00" type:"build" name:"Pipeline #2 for master" }}
I've not even got a uuid to use to query the bitbucket API to get these details if I needed to.
Any ideas on how I can use this data to the stage of the pipeline step currently underway?
It looks like you're new here. Sign in or register to get started.