Post-Receive Hooks

Last updated by Adam West on September 22, 2017 12:37

You can setup post-receive hooks which will allow you to call external URLs whenever you push (or commit in the case of SVN) to your repository.

To add a new hook, visit the Repos page and click the Settings button found on the right hand side.

Then click the Post-Receive Hooks tab:

Enter the URL where the hook will be delivered to, and if you require authenticatation, click Add HTTP authentication details:

  • Username is the username that will be used for basic auth when making the request
  • Password is the password that will be used for basic auth when making the request

Example POST Payload

		"name":"Dan Quinney",     
			"name":"Dan W",
		"timestamp":"Thu, 04 Apr 2013 16:15:15 +0100",