jenkinsci / hipchat-plugin

HipChat notification plugin for Jenkins
https://plugins.jenkins.io/hipchat/
54 stars 85 forks source link

Improve notification messages for build errors #65

Closed aldaris closed 7 years ago

aldaris commented 8 years ago

It would be great if the plugin could analyze the build logs upon build failure and attempt to send a notification to the HipChat room including a snippet of the relevant-looking log snippet.

aldaris commented 7 years ago

This should be possible now using the new built-in token-macro tokens: BUILD_LOG_EXCERPT BUILD_LOG BUILD_LOG_MULTILINE_REGEX BUILD_LOG_REGEX