From a279e902482ef616689a70ab57185b87c684900a Mon Sep 17 00:00:00 2001 From: hyokeun Date: Fri, 9 Mar 2018 13:42:06 +0900 Subject: [PATCH] Fix not updating tag-commit mapping Change-Id: I1afafce7a60a87e82c679a195e95335d69d257d5 --- common/buildmonitor_extention.py | 1 + 1 file changed, 1 insertion(+) diff --git a/common/buildmonitor_extention.py b/common/buildmonitor_extention.py index 93abc9b..449489e 100644 --- a/common/buildmonitor_extention.py +++ b/common/buildmonitor_extention.py @@ -240,6 +240,7 @@ class BuildMonitorExtention(object): query_data = (db_git_path_id, commit_id, commit_date, commit_message, \ db_user_email_id, db_git_branch_id) do_query(query, query_data) + db_git_commit_id = self.get_commit_id(db_git_path_id, commit_id) else: query = "UPDATE git_commit SET \ git_repository_id=%s, commit_id=%s, commit_date=%s, commit_message=%s, \ -- 2.7.4