bluzi/travis-buddy

Eliminate duplicate logs

Closed this issue · 0 comments

bluzi commented

Summary

Sometimes, repository owners configure TravisCI to execute multiple scripts that ends up generating the same output. These duplicate logs should be eliminated.

How to resolve?

In handlers/failure.handler.js you'll find a variable named jobs, that contains an array of executed scripts and their outputs - filter this variable and eliminate the duplicate logs before it's being used by the messageFormatter to generate the comment.