feat: 新增 创建CI CD任务接口。

This commit is contained in:
Ivan Li
2021-03-12 23:00:12 +08:00
parent cba4c0464c
commit aa92c518f0
8 changed files with 41 additions and 9 deletions

View File

@ -33,6 +33,7 @@ export class PipelineTasksService {
const redis = this.redis.getClient();
await redis.lpush(tasksKey, JSON.stringify(task));
await this.doNextTask(pipeline);
return task;
}
async doNextTask(pipeline: Pipeline) {