Output files being uploaded to Nexus 34/13634/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 23 Nov 2018 04:09:44 +0000 (12:09 +0800)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 23 Nov 2018 04:10:05 +0000 (12:10 +0800)
We need the files to be printed on info so that it is clear which
files were pushed to Nexus for a particular build run.

Issue: RELENG-1512
Change-Id: Id3d273b695bd3bf52e38fa6d5647ae59a48a2144
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
lftools/deploy.py

index e5b508d..c38f1bc 100644 (file)
@@ -519,7 +519,7 @@ def deploy_nexus(nexus_repo_url, deploy_dir, snapshot=False):
     def _deploy_nexus_upload(file):
         """Fix file path, and call _request_post_file."""
         nexus_url_with_file = '{}/{}'.format(_format_url(nexus_repo_url), file)
-        log.debug('Uploading {} to nexus : {}'.format(file, nexus_url_with_file))
+        log.info('Uploading {} to nexus: {}'.format(file, nexus_url_with_file))
         _request_post_file(nexus_url_with_file, file)
 
     file_list = []
@@ -572,7 +572,7 @@ def deploy_nexus_stage(nexus_url, staging_profile_id, deploy_dir):
         _format_url(nexus_url),
         staging_repo_id)
 
-    log.debug("Nexus URL = {}".format(_format_url(deploy_nexus_url)))
+    log.debug("Nexus URL: {}".format(_format_url(deploy_nexus_url)))
     deploy_nexus(deploy_nexus_url, deploy_dir)
 
     nexus_stage_repo_close(nexus_url, staging_profile_id, staging_repo_id)