mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-09 16:50:28 +00:00
feat: pass current matrix information to job logger (#1364)
For log processing of the JSON logs, we want to be able to know which keys/values of the matrices were used. This commit adds the current matrix map to the job logger. Co-authored-by: Markus Wolf <[email protected]> Co-authored-by: Markus Wolf <[email protected]>
This commit is contained in:
1 parent
97c083e902
commit
00acf68188
3 files changed
+4
-3
No files matched your search
@@ -192,7 +192,7 @@ func (runner *runnerImpl) NewPlanExecutor(plan *model.Plan) common.Executor {
|
||||
}
|
||||
|
||||
return nil
|
||||
})(common.WithJobErrorContainer(WithJobLogger(ctx, rc.Run.JobID, jobName, rc.Config, &rc.Masks)))
|
||||
})(common.WithJobErrorContainer(WithJobLogger(ctx, rc.Run.JobID, jobName, rc.Config, &rc.Masks, matrix)))
|
||||
})
|
||||
}
|
||||
pipeline = append(pipeline, common.NewParallelExecutor(maxParallel, stageExecutor...))
|
||||
|
||||
Reference in new issue
Block a user