Git post-receive hook for triggering release builds and dev build in Jenkins for selfhosted Git servers. Dev builds are triggered using Jenkins polling mechanism when branches are commited to. The release builds are triggered when tags are pushed.