Modified to produce for the Prerelease 85/89485/1
authorYonghee Han <onstudy@samsung.com>
Sat, 24 Sep 2016 00:16:44 +0000 (09:16 +0900)
committerYonghee Han <onstudy@samsung.com>
Sat, 24 Sep 2016 00:16:44 +0000 (09:16 +0900)
Group SR.

Normal operation
SR first build is complete, images created.
SR second build is complete, images created.

However, in the case of failure.
The problems do not stop with the first image produced does not create a second image.

Solution.
Modified to produce the first image and the second image can be generated.

Change-Id: Ibe3283040d56bed6e7ae68d682056edae012282e

job_post_image.py

index 960b7fa..45d4c41 100755 (executable)
@@ -67,7 +67,8 @@ def main():
         saveinfo = build.get_info(project)
         try:
             #print "images count : %s %s \n" % ( len(saveinfo['images']), saveinfo['images_count'])
-            if len(saveinfo['images']) == saveinfo['images_count']:
+            #if len(saveinfo['images']) == saveinfo['images_count']:
+            if (saveinfo['chksnap'] == '1'):
                 # clear chksnap flag
                 info['chksnap'] = '0'
                 build.update_info(info, project)