The console output (or build log) as visible on the site, contains html markup (mainly from the ansi color plugin), which I intend to export as part of the email notification via email-ext (either as content or attachment). Are there any existing plugins/methods I can use to do this efficiently? I can’t think of a better way short of wget + dom parsing, which I find relatively tedious.
Share
It seems that the rendered page cannot be fully obtained in the middle of the build through wget (partial javascript code is returned). This probably makes sense, but for my purpose I finally decided to filter the ansi escape sequences from the email (which is possible through build.getLog() + String.replaceAll) so it will be just as readable as the online version.