refactor: logs

This commit is contained in:
xiaojunnuo
2022-10-30 01:42:10 +08:00
parent 909b75eb40
commit 146ac49703
4 changed files with 4 additions and 2 deletions

View File

@@ -22,6 +22,7 @@ export class Executor {
this.onChanged = options.onChanged;
this.accessService = options.accessService;
this.userId = options.userId;
this.pipeline.userId = this.userId;
this.contextFactory = new ContextFactory(options.storage);
this.logger = logger;
this.pipelineContext = this.contextFactory.getContext("pipeline", this.pipeline.id);

View File

@@ -64,6 +64,7 @@ export type Runnable = {
export type Pipeline = Runnable & {
version?: number;
userId: any;
stages: Stage[];
triggers: Trigger[];
};