diff options
author | Danilo Šegan <danilo.segan@linaro.org> | 2013-02-26 09:38:32 +0100 |
---|---|---|
committer | Danilo Šegan <danilo.segan@linaro.org> | 2013-02-26 09:38:32 +0100 |
commit | d687a5e1326288228e5ec8fd3c795171a5fe69f4 (patch) | |
tree | 7f281633231201163abf5d4f7a32ce9336e8a392 /scripts | |
parent | ff1b5b1279f60a804d862d7752e7ce9ff75c3e90 (diff) |
Revert r155-r157 introducing checks for BUILD-INFO.txt.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/publish_to_snapshots.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/scripts/publish_to_snapshots.py b/scripts/publish_to_snapshots.py index 6d43cef..5276751 100755 --- a/scripts/publish_to_snapshots.py +++ b/scripts/publish_to_snapshots.py @@ -15,7 +15,6 @@ staging_target_path = '/srv/staging.snapshots.linaro.org/www/' product_dir_path = 'target/product' PASS = 0 FAIL = 1 -buildinfo = 'BUILD-INFO.txt' acceptable_job_types = [ 'android', 'prebuilt', @@ -368,13 +367,6 @@ class SnapshotsPublisher(object): print "Failed to move files destination path", target_dir_path return FAIL - def check_buildinfo(self, build_dir_path): - buildinfo_path = os.path.join(build_dir_path, buildinfo) - if not os.path.exists(buildinfo_path): - return FAIL - - return PASS - def main(): global uploads_path @@ -395,14 +387,6 @@ def main(): if build_dir_path is None or target_dir_path is None: print "Problem with build/target path, move failed" return FAIL - ret = publisher.check_buildinfo(build_dir_path) - if ret != PASS: - print "ERROR: BUILD-INFO.txt is not present in build." - print "WARNING: Nothing was published." - # Remove artifacts from upload dir - if os.path.isdir(build_dir_path): - shutil.rmtree(build_dir_path) - return FAIL ret = publisher.move_artifacts(args, build_dir_path, target_dir_path) if ret != PASS: print "Move Failed" |