Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Mercurial repo webhook on branch close contains 'new' section

IlyaFinkelshteyn March 4, 2019

If you close Mercurial repo branch, Bitbucket sends a webhook which contains push/changes/new section.

This misleads our CI (AppVeyor) integration and we start unnecessary builds.

I am not sure this is expected behavior because Git webhook does not work this way (branch deletion webhook does not contain push/changes/new section).

Can we rely on value of push/changes/closed? Should it be always false for all webhooks except branch close/deletion?

 

2 answers

0 votes
IlyaFinkelshteyn March 12, 2019

Hi Ana,

 

Thank you for your reply. We are using Bitbucket Cloud and create new builds based on incoming webhook content.

 

Another question: can you please restore and look into another question we created? Attached is notification I get, but this is completely different issue.

2019-03-12_09h27_05.png

Ilya.

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 12, 2019

Hi Ilya!

Are you using Bitbucket Cloud or Server? We need this info to make sure we root this question to the right department :) 

Kind regards,

Ana

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events