Title: Message Title
R T created an issue
Jenkins / JENKINS-50918
Bitbucket Source webhook endpoint fails: X-Event-Key HTTP header not found
Issue Type:
Bug
Assignee:
Unassigned
Components:
bitbucket-branch-source-plugin
Created:
2018-04-20 20:56
Environment:
CentOS 7 centos-release-7-4.1708.el7.centos.x86_64 openjdk version "1.8.0_161" OpenJDK Runtime Environment (build 1.8.0_161-b14) OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode) Jenkins 2.100-1.1 installed via Yum Bitbucket Branch Source 2.2.10 Bitbucket Build Status Notifier 1.3.3 Bitbucket Plugin 1.1.8 Pipeline 2.5 Pipeline API 2.26 Apache HttpComponents Client 4.x API 4.5.3-2.1 Display URL API 2.2.0
Labels:
webhook bitbucket
Priority:
Major
Reporter:
R T
I've got one webhook working on Bitbucket Cloud for freestyle jobs. I have created a multibranch pipeline and added the Bitbucket Source plugin to facilitate a separate webhook for it. I created a second webhook for the bitbucket-scmsource-hook/notify endpoint endpoint. Jenkins is not recognizing payloads from Bitbucket for this new webhook. When I simply visit https://myjenkins/bitbucket-scmsource-hook/notify, the following is displayed:
java.lang.Exception: X-Event-Key HTTP header not found
at org.kohsuke.stapler.HttpResponses.error(HttpResponses.java:83)
at com.cloudbees.jenkins.plugins.bitbucket.hooks.BitbucketSCMSourcePushHookReceiver.doNotify(Bit