Git+push notification with Gitolite and Jenkins

Git+push notification with Gitolite and Jenkins

Published on Feb 17, 2012, 6:24 PM1 min read

Its so easy now to support jenkins+git with gitolite. No more having git polling per project and slamming the git server with ssh requests.

To install: Edit .gitolite/hooks/common/post-receive file 1

Add: curl -s http:///git/notifyCommit?url=/${GL_REPO}.git

For me, my git prefix is: "ssh://git@git.kodekoan.com"

Its that simple.


  1. .gitolite/hooks/common/post-receive should be symlinked in every repo you have. I think you needed to set it up before you created a repo though)

Gavin Mogan
Burnaby, BC, Canada

I'm Gavin.

I'm a tinker, maker, and software developer.

At home I code, game, hang out, all the cool non robot things to do.

Heavily involved with Jenkins open source, and will often submit PRs to random other projects.

I also play games, both board and video games and love to read.

You can usually find me on various services as halkeye.

#notarobot

Comments