Short version of CIRCLE_SHA1 available as built-in environment variable
oliver@subskribe.com
Organizations would differ on thee number of bytes.. Eg ours uses 8 instead of the standard 7. So this would have to be a setting at the org level, ideally (but not essential) overridable at the project level.
m
minoru.mizutani@gmail.com
echo ${CIRCLE_SHA1:0:7}