Skip to content

Commit 9483bcf

Browse files
committed
CI: Fix OS error in perf job script
1 parent b884cb9 commit 9483bcf

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

ci/jobs/sqltest_job.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,9 +290,12 @@ def do():
290290
command=do,
291291
)
292292
)
293-
results[-1].set_files("report.html")
294293

295-
Result.create_from(results=results, stopwatch=stop_watch, files=[]).complete_job()
294+
Result.create_from(
295+
results=results,
296+
stopwatch=stop_watch,
297+
files=["report.html"] if results[-1].is_ok() else [],
298+
).complete_job()
296299

297300

298301
if __name__ == "__main__":

0 commit comments

Comments
 (0)