Unverified Commit e01d3272 authored by William Hesse's avatar William Hesse Committed by GitHub

Always write devicelab test results to a file if the resultsPath option is present (#86393)

Some runs of DeviceLab performance tests are run without a gitBranch option, but
still must save their results to a local file.
parent 7f741e91
...@@ -42,7 +42,7 @@ Future<void> runTasks( ...@@ -42,7 +42,7 @@ Future<void> runTasks(
print(const JsonEncoder.withIndent(' ').convert(result)); print(const JsonEncoder.withIndent(' ').convert(result));
section('Finished task "$taskName"'); section('Finished task "$taskName"');
if (resultsPath != null && gitBranch != null) { if (resultsPath != null) {
final Cocoon cocoon = Cocoon(); final Cocoon cocoon = Cocoon();
await cocoon.writeTaskResultToFile( await cocoon.writeTaskResultToFile(
builderName: luciBuilder, builderName: luciBuilder,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment