Structure of info structure in job_pre_release_gerrit was changed on
some rebase or merge. Returning it back to the right one.
Change-Id: I424c1aa5ac833c7f1b2d838227b56dc1591cb2e8
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
# Create review project if it doesn't exist
print "Creating temporary review OBS project %s" % obs_project
- info = {git_project: {'obs_target_prj': obs_target_prj,
- 'git_url': git_url,
- 'git_tag': git_tag,
- 'git_revision': git_revision}}
+ info = {'projects': [git_project],
+ 'obs_target_prj': obs_target_prj,
+ 'git_tag': git_tag}
+
if build.exists(obs_project):
# update project info
build.update_info(info, obs_project)