ENABLED flag for git-ref-mapping update 45/94245/1
authorhyokeun <hyokeun.jeon@samsung.com>
Fri, 28 Oct 2016 01:02:16 +0000 (10:02 +0900)
committerhyokeun <hyokeun.jeon@samsung.com>
Fri, 28 Oct 2016 01:03:19 +0000 (10:03 +0900)
Change-Id: If15e1bcfac222c7bf56ece8797b14790cf7590b0

job_release_snapshot.py

index 1e67f62..7e76d1e 100755 (executable)
@@ -90,7 +90,8 @@ def main():
     make_latest_link(path_latest_release_snapshot)
 
     # update reference project information with release id
-    if os.getenv("REF_MAPPING_PRJ") is not None:
+    if os.getenv("REF_MAP_UPDATE_ENABLED", "0") != "0" \
+        and os.getenv("REF_MAPPING_PRJ") is not None:
         trigger_next("ref-snapshot-info-update", \
                         {'profile':release_profile, \
                          'base_project':profile_info['Project'], \