outdir = os.path.join(basedir, 'out')
os.makedirs(outdir)
+ url = os.path.join(fields.get('url_pub_base', ''),
+ fields['repo_path'], fields['images_path'])
+
+ # Triggering DUMMY post-image-creation
+ data = {"image_xml": "<?xml version=\"1.0\" ?>\n",
+ "name": fields['name'],
+ "project": fields.get('project', ''),
+ "status": "failed",
+ "url": url
+ }
+ trigger_next("POST-IMAGE-CREATION", data)
+
ksf = os.path.join(outdir, '%s.ks' % name)
with open(ksf, 'w') as ks_fh:
ks_fh.write(fields["kickstart"])
xml_string = get_xml(os.path.join(outdir, build_id), name)
- url = os.path.join(fields.get('url_pub_base', ''),
- fields['repo_path'], fields['images_path'])
-
# All project will trigger the post-image-creation
# Trigger info for post image creation job
data = {"image_xml": xml_string,