sweemeng

sweemeng 11 points

a code monkey coding for coffee

Let's get started!

First edit your profile and add all the email addresses you use to commit with. This is how we'll identify you, we will not display or share this information.

How do I add a web hook for my project?

Github

If you host your project on github, follow the instructions below to setup a post receive hook.

  1. Go to your project on github.
  2. Select the 'Settings' link on the project dashboard.
  3. Select 'Webhooks and Services' on the left menu.
  4. Select 'Add webhook'.
  5. Enter the Payload URL:
    http://www.julython.org/api/v1/github
  6. Choose Content type:
    application/x-www-form-urlencoded
  7. There is no secret, and we just want the 'push' event sent
  8. Make sure it is active and select 'Add Webhook'

You can validate and re-test the hook by selecting it expanding the 'Recent Deliveries' and select 'Redeliver'

Bitbucket

If you host your project on bitbucket, follow the instructions below to setup a post receive hook.

  1. Go to your project on bitbucket.
  2. Select the 'Settings' admin tab on your project dashboard.
  3. Select 'Hooks' on the left menu.
  4. In the 'Select a hook...' dropdown select or type 'POST' then 'Add hook'.
  5. Enter the URL:
    http://www.julython.org/api/v1/bitbucket

You can test it out by pushing a commit to your repository.

sweemeng's Commits