Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jxson
Created December 8, 2009 22:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jxson/252077 to your computer and use it in GitHub Desktop.
Save jxson/252077 to your computer and use it in GitHub Desktop.
git post-recieve hook for a ci setup using integrity
#! /usr/bin/env python
import httplib
conn = httplib.HTTPConnection("http://ci.wherever.com")
conn.request("POST", "/project/builds")
# http://ci.example.org/push/TOKEN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment