Merge pull request #1955 from jakemcdermott/job-results/always-discard-lines-beneath-threshold

always discard lines beneath threshold when tailing output
This commit is contained in:
Jake McDermott 2018-05-25 11:22:08 -04:00 committed by GitHub
commit 29f0f94734
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,10 +115,11 @@ function JobEventEngine ($q) {
this.chain = this.chain
.then(() => {
if (data.end_line < this.lines.min) {
return $q.resolve();
}
if (!this.isActive()) {
if (data.end_line < (this.lines.min)) {
return $q.resolve();
}
this.start();
} else if (data.event === JOB_END) {
if (this.isPaused()) {