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.
This commit is contained in:
parent
7f741e9181
commit
e01d327239
@ -42,7 +42,7 @@ Future<void> runTasks(
|
||||
print(const JsonEncoder.withIndent(' ').convert(result));
|
||||
section('Finished task "$taskName"');
|
||||
|
||||
if (resultsPath != null && gitBranch != null) {
|
||||
if (resultsPath != null) {
|
||||
final Cocoon cocoon = Cocoon();
|
||||
await cocoon.writeTaskResultToFile(
|
||||
builderName: luciBuilder,
|
||||
|
Loading…
x
Reference in New Issue
Block a user