Fix retrigger the images for the Group submit. 40/78240/1
authorYonghee Han <onstudy@samsung.com>
Tue, 5 Jul 2016 00:24:52 +0000 (09:24 +0900)
committerYonghee Han <onstudy@samsung.com>
Tue, 5 Jul 2016 00:24:52 +0000 (09:24 +0900)
disable publish flag and default publish flag

Change-Id: I24ea9f4d74e30742c6cf300ab3922f2fb726e229

job_submit.py

index 4912da7..8827898 100755 (executable)
@@ -155,6 +155,9 @@ def create_project(git_url, git_project, git_tag, git_revision, build,
     # change release name of project config in OBS
     change_release_name(build, obs_project, git_tag)
 
+    #disable publish flag
+    build.disable_build_flag(obs_project, repo = None, flag="publish", status="disable")
+
     #disable build flag
     build.disable_build_flag(obs_project, repo = None, flag="build", status="disable")
 
@@ -176,6 +179,9 @@ def create_project(git_url, git_project, git_tag, git_revision, build,
     #default build flag
     build.default_build_flag(obs_project, repo = None, flag="build")
 
+    #default publish flag
+    build.default_build_flag(obs_project, repo = None, flag="publish")
+
 
 def get_branch_name(tag):
     """Get branch name by parsing info