Include build snippets in Slack notifications

It would be really handy to be able to include a build snippet or annotation in a Slack build notification.
For example - when my build fails include the test failure output in the notification.