Use a custom status on the commit for when a build is completed. If the field is left blank then the default value is used instead.