projects
/
services
/
jenkins-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
528261a
)
Fix undefined error
80/168180/1
author
hyokeun
<hyokeun.jeon@samsung.com>
Thu, 25 Jan 2018 00:41:24 +0000
(09:41 +0900)
committer
hyokeun
<hyokeun.jeon@samsung.com>
Thu, 25 Jan 2018 00:41:24 +0000
(09:41 +0900)
Change-Id: I18cdc176b40d64f63114bb9b7727797628ef9959
job_buildmonitor.py
patch
|
blob
|
history
diff --git
a/job_buildmonitor.py
b/job_buildmonitor.py
index
94b0986
..
0411dc5
100644
(file)
--- a/
job_buildmonitor.py
+++ b/
job_buildmonitor.py
@@
-1430,7
+1430,7
@@
def update_build_fail_reason_warning(bm_snapshot_name, bm_buildfailreason):
if existing_info == 0 or existing_info is None:
info_str = bm_buildfailreason
else:
- info_str = "%s %s" % (
info_str
, bm_buildfailreason)
+ info_str = "%s %s" % (
existing_info
, bm_buildfailreason)
query = "UPDATE build_snapshot SET status_info=%s WHERE snapshot_name=%s LIMIT 1"
query_data = (info_str, bm_snapshot_name)
buildmonitor_db.do_query(query, query_data)