Forums

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

how can i use webhook secret with jenkins

Hitesh Kamble
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!
November 7, 2023

i read this Document and i did not get how can i do this with jenkins     
https://bitbucket.org/blog/enhanced-webhook-security

 

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 8, 2023

Hi Hitesh and welcome to the community!

The secret you use for a webhook can be used by the server that receives the webhook to validate its authenticity. Our documentation has an example of how the validation can be done on your server:

However, Jenkins may already have built-in functionality to do this validation for you. If that is the case, there should be an option somewhere in Jenkins configuration to:

  • either generate a secret (which you can add to the Bitbucket webhook)
  • or add a secret (if you generate a secret from Bitbucket, you could add it there)

I'm not sure if Jenkins already has this functionality built-in and if so, where to configure it. I would suggest reaching out to one of the platforms and channels for Jenkins support regarding this:

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events