You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add "--report file.html" flag to generate build report.
The report is rendered in Markdown and useful when using Leeway
in environments that doen't support log cutting. For example:
* Gitpod Workspaces
* CI systems other than Werft
Copy file name to clipboardExpand all lines: cmd/build.go
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -154,6 +154,7 @@ func init() {
154
154
buildCmd.Flags().String("serve", "", "After a successful build this starts a webserver on the given address serving the build result (e.g. --serve localhost:8080)")
155
155
buildCmd.Flags().String("save", "", "After a successful build this saves the build result as tar.gz file in the local filesystem (e.g. --save build-result.tar.gz)")
156
156
buildCmd.Flags().Bool("watch", false, "Watch source files and re-build on change")
cmd.Flags().UintP("max-concurrent-tasks", "j", uint(runtime.NumCPU()), "Limit the number of max concurrent build tasks - set to 0 to disable the limit")
173
174
cmd.Flags().String("coverage-output-path", "", "Output path where test coverage file will be copied after running tests")
174
175
cmd.Flags().StringToString("docker-build-options", nil, "Options passed to all 'docker build' commands")
175
-
176
+
cmd.Flags().String("report", "", "Generate a HTML report after the build has finished. (e.g. --report myreport.html)")
0 commit comments