-
Task
-
Resolution: Unresolved
-
Minor
-
None
in bitbucket I managed to trigger jenkins by using a webhook. I added the jenkins url and I can read the body of the HTTP request. For this I used a Generic Webhook.
Now I want to read the header as well. but somehow I dont know how to do this. My aim is it to read the X-Hub-Signature and then compare with the Bitbucket Signature. The header of Bitbucket is described here https://confluence.atlassian.com/bitbucketserver076/event-payload-1026535078.html
I can see from Bitbucket that it is sending the X-Hub-Signature but cant figure out how to recieve it on jenkins site. If somehow has an advice, then I would be grateful.