How can I include branch name(s) as URL parameters in BitBucket web hooks?

Jóhann Sigurðsson
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!
March 20, 2018

I can do this using a plugin for BitBucket servers, but not for the cloud?

1 answer

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

Hi Jóhann! You can't do that for Cloud, but the branch name will be in the payload.

Hope that helps!
Ana 
Anand Patil August 18, 2018

$payload comes as blank in the Jenkins pipeline groovy, is there any thing that needs to be done to get it ? I am trying to get the reference to the branch , atleast branch name

Thanks

Anand

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events