[BuildMonitor] disable the 'get_src_prj_lst' func & 'src_project empty check' part 27/118027/1
authorSungHun Hwang <sh0924.hwang@samsung.com>
Wed, 8 Mar 2017 04:43:48 +0000 (13:43 +0900)
committerSungHun Hwang <sh0924.hwang@samsung.com>
Wed, 8 Mar 2017 09:37:36 +0000 (18:37 +0900)
PROBLEM:
  The projects which is registered at DROPPED_PRERELEASE_PROJECTS list
  are NOT inserted any tables. So when SR was accepted,
  Post_Snap_Start / Post_Snap_End job were failed
  bcz the related table doesn't exist

SOLUTION:
  disable the 'get_src_prj_lst' func & 'src_project empty check' part

Change-Id: I7767c3a5c098f043df60ab7f0823a755d66e5567
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
job_buildmonitor.py

index e8866e1..5dcf204 100644 (file)
@@ -1723,13 +1723,16 @@ def main():
         gerrit_account_name = content.get("gerrit_account_name")
         bm_start_datetime = content.get("bm_start_datetime")
         bm_end_datetime = content.get("bm_end_datetime")
-        bm_src_project_lst = get_src_proj_lst(content.get("bm_src_project_lst"))
+        #bm_src_project_lst = get_src_proj_lst(content.get("bm_src_project_lst"))
+        bm_src_project_lst = content.get("bm_src_project_lst")
 
+        '''
         # empty check
         if not bm_src_project_lst:
             print '[%s] bm_src_project_lst is empty, skip Submit stage!!\n' \
                   % (__file__)
             return
+        '''
 
         # func call
         ### sr_status -> sr_commit -> sr_stage & sr_status_detail