Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket sent incorrent branch name inside webhook payload

Regressor
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 2, 2018

Hi. I've made a task starting by bitbucket hook. The task is maintain version number increment (it changes version file and commit/push it). Sometimes jenkins doesn't run script after merging, but sometimes it works.

 

 

I made some investigation and it looks like bitbucket hook send incorrect branch name inside payload:

So I want to merge future-XXX branch to default.

If I set "Close branch" option before merge I got .push.changes[].new.name='future-XXX'

If I don't set "Close branch" option before merge I got .push.changes[].new.name='default'

 

Is it normal ?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events