Skip to content

cli: build: Do not produce empty json file

Senthil Kumaran S requested to merge no-empty-json-out into master

When the build's status is empty which can occur in two scenarios:

  1. When the cli time's out
  2. When the status fetch fails, due to network error or unavailability of tuxapi endpoint

Then, do not write a json file when --json-out is requested.

Signed-off-by: Senthil Kumaran S senthil.kumaran@linaro.org

Merge request reports