[JIRA] (JENKINS-50918) Bitbucket Source webhook endpoint fails: X-Event-Key HTTP header not found

2018-04-26 Thread zac...@gmx.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Zack Snyder commented on  JENKINS-50918  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Bitbucket Source webhook endpoint fails: X-Event-Key HTTP header not found   
 

  
 
 
 
 

 
 I can confirm this bug, I have the same result when entering the hook URL into the browser. Reported it here: JENKINS-47891 However, is this now a bug or can I just not enter the hook URL in a browser? Anyway, the hook will not trigger any build in jenkins.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50918) Bitbucket Source webhook endpoint fails: X-Event-Key HTTP header not found

2018-04-20 Thread dv...@yahoo.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 R T closed an issue as Won't Fix  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Line 94 of the code throws this when an eventKey is not passed as part of the request. Using a browser would do that. https://github.com/jenkinsci/bitbucket-branch-source-plugin/blob/fed749a4860d0171d89422fb0f5aa8dcfc48c6cd/src/main/java/com/cloudbees/jenkins/plugins/bitbucket/hooks/BitbucketSCMSourcePushHookReceiver.java  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-50918  
 
 
  Bitbucket Source webhook endpoint fails: X-Event-Key HTTP header not found   
 

  
 
 
 
 

 
Change By: 
 R T  
 
 
Status: 
 Open Closed  
 
 
Resolution: 
 Won't Fix  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   




[JIRA] (JENKINS-50918) Bitbucket Source webhook endpoint fails: X-Event-Key HTTP header not found

2018-04-20 Thread dv...@yahoo.com (JIRA)
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