From b626eed859c9732f8ee8859c1e0e0b53a11149f0 Mon Sep 17 00:00:00 2001 From: Ivan Li Date: Sun, 20 Jun 2021 20:30:14 +0800 Subject: [PATCH] fix(pipeline-tasks): lost unit logs. --- src/pipeline-tasks/pipeline-tasks.service.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pipeline-tasks/pipeline-tasks.service.ts b/src/pipeline-tasks/pipeline-tasks.service.ts index b3fa1ed..9782255 100644 --- a/src/pipeline-tasks/pipeline-tasks.service.ts +++ b/src/pipeline-tasks/pipeline-tasks.service.ts @@ -120,6 +120,8 @@ export class PipelineTasksService { }; task.logs.push(l); + } else { + l.logs += event.message; } if (terminalTaskStatuses.includes(event.status)) {