From: Ed Bartosh Date: Wed, 17 Apr 2013 14:55:06 +0000 (+0300) Subject: Returned back right info structure X-Git-Tag: 0.12~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5a399c408fae5a0b932d93b1f20d719a43042812;p=services%2Fjenkins-scripts.git Returned back right info structure 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 --- diff --git a/job_pre_release_gerrit.py b/job_pre_release_gerrit.py index 6565ddf..4e6e7d7 100755 --- a/job_pre_release_gerrit.py +++ b/job_pre_release_gerrit.py @@ -58,10 +58,10 @@ def create(git_url, git_project, git_tag, git_revision, build, # 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)