diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2020-03-02 17:13:49 +0800 |
---|---|---|
committer | Yongqin Liu <yongqin.liu@linaro.org> | 2020-03-02 17:13:49 +0800 |
commit | b572053748bcdd283876ba28821d9f10c5fdbcbe (patch) | |
tree | 1ac5d3d9334bd13d8b1284f6f3c6904bfd38335a | |
parent | efa1c7d8dfabfdbcaf46090f5b33a3cf2fe881ef (diff) |
lkftreport.py: set duration even in building status
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rw-r--r-- | lkft/management/commands/lkftreport.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lkft/management/commands/lkftreport.py b/lkft/management/commands/lkftreport.py index 886f25e..61e10c5 100644 --- a/lkft/management/commands/lkftreport.py +++ b/lkft/management/commands/lkftreport.py @@ -127,8 +127,8 @@ class Command(BaseCommand): has_build_inprogress = True else: build_status = build.get('result') # null or SUCCESS, FAILURE, ABORTED - build['duration'] = datetime.timedelta(milliseconds=build['duration']) + build['duration'] = datetime.timedelta(milliseconds=build['duration']) build['status'] = build_status build['name'] = dbci_build.name jenkins_ci_builds.append(build) |