Skip to content

Commit

Permalink
Add task name to output files.
Browse files Browse the repository at this point in the history
  • Loading branch information
gnutix committed Nov 29, 2023
1 parent 27568af commit 6ffaaca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provisioner/internal/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ func RunContainer(
tryTo(
"save container logs",
func() error {
return taskFs.SaveContainerLogs(resp.ID, fmt.Sprintf("/output/step-%d.log", stepIndex))
return taskFs.SaveContainerLogs(resp.ID, fmt.Sprintf("/output/%s-step-%d.log", task.Name, stepIndex))
},
)

Expand Down

0 comments on commit 6ffaaca

Please sign in to comment.