Do not update base snapshot information into ref mapping 21/133421/2
authorhyokeun <hyokeun.jeon@samsung.com>
Mon, 12 Jun 2017 06:54:00 +0000 (15:54 +0900)
committerHyokeun Jeon <hyokeun.jeon@samsung.com>
Tue, 13 Jun 2017 04:47:57 +0000 (04:47 +0000)
Change-Id: Iae813c20003e8649aae0812ad4f714d179bf4161

job_ref_snapshot_info_update.py

index 1af9194..ac7ed03 100644 (file)
@@ -40,6 +40,11 @@ def main():
         release_id = fields['release_id']
         release_version = release_id.split('_')[-1]
 
+    #TODO: FIXME:
+    if ':Base' in base_project:
+        print '\n** Skip base project!'
+        return 0
+
     prjdir = os.path.join(os.getenv('WORKSPACE'), os.path.basename(os.getenv('REF_MAPPING_PRJ')))
     # clone scm/git-ref-mapping.git
     if not clone_gitproject(os.getenv('REF_MAPPING_PRJ'), prjdir):