Limit the log size to be stored into CI DB
Recently there were logs with a size of order of 1 Gb produced bu uboone unit test.
It is not wise to store these logs into the CI DB.
Set a threshold of 20 Mb for logs to be stored into the DB.
If a log has a larger size, in the DB it will be stored a log with a message that advise that the log size was too large. Then a link of the log on Jenkins can be provided to look at the log content.
#1 Updated by Michele Fattoruso over 3 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Feature implemented into the feature/michele_check_log_size branch into generic_ci
To properly work on extra log files,this two pattern should be added to the jenkins project configuration,into the "archive the artifact" form:
this two patterns allows archiving .txt and .log files into the artifacts workspace, scanning the whole directory tree.