From: Thanh Ha Date: Fri, 23 Nov 2018 04:09:44 +0000 (+0800) Subject: Output files being uploaded to Nexus X-Git-Tag: v0.19.0~4 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F34%2F13634%2F1;p=releng%2Flftools.git Output files being uploaded to Nexus 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 --- diff --git a/lftools/deploy.py b/lftools/deploy.py index e5b508de..c38f1bcf 100644 --- a/lftools/deploy.py +++ b/lftools/deploy.py @@ -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)