Hi,
I have not been able to configure the webhook for a push in bitbucket to invoke a new build in Openshift Origin v3.9. I have imported the cert from Openshift Origin cert folder to the cacert in JAVA_HOME using Portecle.
I have entered the following information:
Name: origin-hello-php
Url: https://master1.origin.skin.local:8443/oapi/v1/namespaces/skin-poc/buildconfigs/hello-php/webhooks/e3d60d0dc81f84f3/bitbucket
Secret: e3d60d0dc81f84f3
I am assuming the secret is the one that I used in the webhook url in my openshift origin bitbucket webhook url setup.
I am getting the following error thrown by openshift origin:
HTTP Status: 400
Headers
Cache-Control: no-store
Content-Length: 164
Date: Fri, 16 Mar 2018 04:57:59 GMT
Via: 1.1 localhost (Apache-HttpClient/4.4.1 (cache))
Content-Type: application/json
Body
{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"non-parseable Content-Type (mime: no media type)","reason":"BadRequest","code":400}
So has anyone out there experienced similar issues?
Naza