Skip to content

Commit c4c6e13

Browse files
committed
Add UUID to all builds
1 parent 05dce12 commit c4c6e13

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/build_api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import re
1919
import tempfile
2020
import datetime
21+
import uuid
2122
from types import ListType
2223
from shutil import rmtree
2324
from os.path import join, exists, dirname, basename, abspath, normpath, splitext
@@ -106,6 +107,7 @@ def add_result_to_report(report, result):
106107
result - the result to append
107108
"""
108109
result["date"] = datetime.datetime.utcnow().isoformat()
110+
result["uuid"] = str(uuid.uuid1())
109111
target = result["target_name"]
110112
toolchain = result["toolchain_name"]
111113
id_name = result['id']

0 commit comments

Comments
 (0)