Skip to content

Instantly share code, notes, and snippets.

@gerhard
Created August 1, 2012 15:55
Show Gist options
  • Save gerhard/3228101 to your computer and use it in GitHub Desktop.
Save gerhard/3228101 to your computer and use it in GitHub Desktop.
bitbucket.org POST hooks
# curl works fine
Calista ➜ api-docs git:(test-hooks) curl -I -X POST https://autobuild:[email protected]/job/api-docs/build
HTTP/1.1 302 Found
Server: nginx
Date: Wed, 01 Aug 2012 15:50:16 GMT
Content-Length: 0
Connection: keep-alive
Location: http://ci.gosquared.com/job/api-docs/
X-Powered-By: Servlet/2.5 (Winstone/0.9.10)
# CI web logs
ci_elb_ssl.error.log:2012/08/01 15:37:24 [error] 9790#0: *2874928 user "autobuild": password mismatch, client: 10.253.95.66, server: ci.gosquared.com, request: "POST /job/api-docs/build HTTP/1.1", host: "ci.gosquared.com"
ci_elb_ssl.error.log:2012/08/01 15:43:39 [error] 9790#0: *2894357 no user/password was provided for basic authentication, client: 10.253.95.66, server: ci.gosquared.com, request: "POST /job/api-docs/build HTTP/1.1", host: "ci.gosquared.com"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment