Skip to content

Commit

Permalink
Minor edit
Browse files Browse the repository at this point in the history
  • Loading branch information
acumino committed Mar 3, 2022
1 parent beb43d9 commit 7e41873
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/envtest/printer/prow.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ func AddReport(report ginkgo.Report, suiteName string) {
if os.Getenv("CI") != "" && artifactsDir != "" {
path := filepath.Join(artifactsDir, fmt.Sprintf("junit_%s_%d.xml", suiteName, report.SuiteConfig.ParallelProcess))
err := reporters.GenerateJUnitReport(report, path)
fmt.Printf("Failed to generate report\n\t%s", err.Error())
if err != nil {
fmt.Printf("Failed to generate report\n\t%s", err.Error())
}
}
}

0 comments on commit 7e41873

Please sign in to comment.