From: ZhuoX Li Date: Fri, 10 Oct 2014 07:05:48 +0000 (+0800) Subject: Change the filter to trigger post-image-creation X-Git-Tag: 1.0~57 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a32e7a96eac38d2a996203a614dc9b21e8c5439f;p=services%2Fjenkins-scripts.git Change the filter to trigger post-image-creation All project will trigger the post-image-creation in job_image.py to provide more image info for IRIS. Change-Id: Ib20875a4f433790df923941f87e2e2c29c73c17a --- diff --git a/job_imager.py b/job_imager.py index 9885e0f..65265d0 100755 --- a/job_imager.py +++ b/job_imager.py @@ -148,17 +148,16 @@ def main(): url = os.path.join(fields.get('url_pub_base', ''), fields['repo_path'], fields['images_path']) - # If the project is prerelease project, trigger the post-image-creation - if is_prerelease_project(fields.get('project', '')): - # Trigger info for post image creation job - data = {"image_xml": xml_string, - "name": fields['name'], - "project": fields.get('project', ''), - "status": status, - "url": url - } - - trigger_next("POST-IMAGE-CREATION", data) + # All project will trigger the post-image-creation + # Trigger info for post image creation job + data = {"image_xml": xml_string, + "name": fields['name'], + "project": fields.get('project', ''), + "status": status, + "url": url + } + + trigger_next("POST-IMAGE-CREATION", data) if status == 'success': print "The build was successful."