Out of the box this is just about commit-messages, but you can do so much more.
Jenkins provides machine-consumable remote access API to its functionalities. Currently it comes in three flavors: XML JSON with JSONP support Python