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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

how to access payload from Bitbucket Server Integration plugin in Jenkins

this is a very newbie question but i've not found any help on the net so far.

i have installed the Bitbucket Server Integration plugin v2.0.1 on Cloudbees Jenkins Distribution 2.235.2.3 and created a webhook in our Bitbucket server v7.4.0.

the webhook is configured to trigger on any push to a branch right now for testing purposes. the webhook does fire and trigger a job in jenkins. but i need the information in the payload. 

i've seen the payload description but have not been able to access any of the data in it such as the actor's email address and the fromHash and the toHash. how do i access this and potentially other payload data in the jenkins job? please provide as much detail as possible since i am new to webhooks.

 

thanks in advance

1 answer

0 votes
Ana Retamal Atlassian Team Aug 25, 2020

Hi Denis, welcome!

My understanding is that you're trying to access actor's email address, the fromHash and the toHash, and potentially other payload data from Jenkins. This question seems to be specific to the behavior in Jenkins' side, so I don't think there's much we can do to assist from the Atlassian side.

My recommendation would be to reach out to Jenkins support, as they'll be better equipped to provide you with an answer. They have different channels, you can find them at Jenkins Support.

If you need anything else from Bitbucket side, let us know :)

Best regards,

Ana

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.4.0
TAGS
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,869 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you