[Buildbot-devel] short git hash property?

Michael Labbé mlabbe at gmail.com
Sat Feb 7 02:23:58 UTC 2015


I am using the got_revision property to create files and directories to deploy installers.

Long git hashes are rough and make everyone go crosseyed when they see them in their file browsers.

How do I get a short git hash in a property in BuildBot? Or, because this is literally just truncating the hash to 7 characters (28 bits), is there a way to process the property on the server?

I’d do it in the tools being called in my build steps, but they are many and range across platforms.

-Mike



More information about the devel mailing list