Skip to content

Commit 70b38e1

Browse files
committed
Add remote report env var
1 parent 95e73b3 commit 70b38e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ func addBuildFlags(cmd *cobra.Command) {
174174
cmd.Flags().String("coverage-output-path", "", "Output path where test coverage file will be copied after running tests")
175175
cmd.Flags().StringToString("docker-build-options", nil, "Options passed to all 'docker build' commands")
176176
cmd.Flags().String("report", "", "Generate a HTML report after the build has finished. (e.g. --report myreport.html)")
177-
cmd.Flags().String("remote-report", "", "Report the build progress to a remote endoint")
177+
cmd.Flags().String("remote-report", os.Getenv("LEEWAY_REMOTE_REPORT"), "Report the build progress to a remote endoint. The LEEWAY_REMOTE_REPORT env var is used as default.")
178178
}
179179

180180
func getBuildOpts(cmd *cobra.Command) ([]leeway.BuildOption, *leeway.FilesystemCache) {

0 commit comments

Comments
 (0)