feat(pipeline-task): 流水线任务日志订阅接口。
This commit is contained in:
@ -36,6 +36,10 @@ export class PipelineTasksService {
|
||||
return task;
|
||||
}
|
||||
|
||||
async findTaskById(id: string) {
|
||||
return await this.repository.findOneOrFail({ id });
|
||||
}
|
||||
|
||||
async doNextTask(pipeline: Pipeline) {
|
||||
const [lckKey, tasksKey] = this.getRedisTokens(pipeline);
|
||||
const redis = this.redis.getClient();
|
||||
|
Reference in New Issue
Block a user