

@staticmethod
def _print_created_artifacts(remote_artifacts, repo_id):
    caption = 'The following files were uploaded to repository {repo_id}'.format(repo_id=repo_id)
    if os.environ.get('TEAM_CITY_URL'):
        for remote_artifact in remote_artifacts:
            text = '<a href="{url}">{url}</a>'.format(url=remote_artifact.url)
            print("##teamcity[highlight title='{caption}' text='{text}']".format(caption=caption, text=text))
    else:
        print(caption)
        for remote_artifact in remote_artifacts:
            print(remote_artifact.url)

dataset/ETHPy150Open stardust85/repositorytools/repositorytools/lib/repository.py NexusRepositoryClient._print_created_artifacts/original