If a build was triggered by a code change, the commit comment (or check-in comment) will be shown in the build result.
On this page:
To view the code check-in comments for a particular build result:
Working with Comments Triggering a Plan Build when Code is Updated