Export Build Statistics

Hello,

I was wondering if there was a way to export build statistics to an external system. Among other things, I would like to keep track of how long builds are taking, the number of builds we’re processing, success rate for the different jobs, etc.

I imagine something like a webhook fired after each run could convey this information.