feat(pipeline-tasks): 添加 部署任务查询接口和任务日志推送。
This commit is contained in:
@ -40,6 +40,10 @@ export class PipelineTasksService {
|
||||
return await this.repository.findOneOrFail({ id });
|
||||
}
|
||||
|
||||
async listTasksByPipelineId(pipelineId: string) {
|
||||
return await this.repository.find({ pipelineId });
|
||||
}
|
||||
|
||||
async doNextTask(pipeline: Pipeline) {
|
||||
const [lckKey, tasksKey] = this.getRedisTokens(pipeline);
|
||||
const redis = this.redis.getClient();
|
||||
|
Reference in New Issue
Block a user