[FIXED JENKINS-39535] - Optimize get log method (#2607)
* Add some tests to current behaviour of getLog method * getLog(maxLines) reads only last maxLines lines now It should speed up and reduce memory consumption for some plugins (i.e. Email-ext Plugin). Also now this method could be used to get last lines of build output in efficient manner. * Fix issues from code review
Showing
想要评论请 注册 或 登录