I'm using Hudson as my CI server and I'm trying to get my commits to trigger a build. When I was using gitosis I just had a post-receive
that ran a
curl -u gituser:password http://my.hudson.url/project/?token=someToken
I can't seem to find out how to run commands such as this with Github, it only appears to support certain services by sending a POST to a particular url. The reason I'm using curl is for the user authentication. I'm not sure how I can accomplish this with Github.
Has anyone used a similar setup at all?
Add a build user to your hudson setup, add privileges
In your github service hook, add user credentials in POST-call
http://USER:PASS@SERVER/job/PROJECT/build?token=TOKEN