diff --git a/pkg/toolrecord/toolrecord.go b/pkg/toolrecord/toolrecord.go index 20f79efaf3..3168dd99e9 100644 --- a/pkg/toolrecord/toolrecord.go +++ b/pkg/toolrecord/toolrecord.go @@ -62,14 +62,13 @@ func New(fileUtils fileWriteUtils, workspace, toolName, toolInstance string) *To tr.workspace = workspace - now := time.Now().UTC() reportFileName := filepath.Join(workspace, "toolruns", - "toolrun_"+toolName+"_"+ - now.Format("20060102150405")+ - ".json") + "toolrun_"+toolName+"_all.json") tr.reportFileName = reportFileName - // keep the timestamp inside the object too + + // keep a timestamp inside all files + now := time.Now().UTC() var otr = &tr otr.AddContext("generatedOnUtc", now.Format("20060102150405")) return otr