Skip to content

HipChat build event color and summary text

username-removed-60772 requested to merge eisnerd/gitlab-ce:hipchat into master

This commit restores the colors mentioned in #5571 (closed) by overriding the color setting with green/red just for build events.

Also, I have found it useful to be able to include extracts from the build trace in the HipChat message. The method used in this patch, searching for lines starting with "SUMMARY: ", is quite primitive and puts the onus on the build script author to pick out the useful text. E.g.:

make|sed '/crucial info/s/^/SUMMARY: /'
echo "SUMMARY: External build artefacts on http://thin.gs/$(git describe)"

Merge request reports