Add build log to payload

@christ66 I have fixed the other 2 issues you flagged.  This would mean updating various bits of this patch.  I'll keep StringUtils.join() in mind for future projects.