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."