in pytest_azurepipelines.py [0:0]
def pytest_warning_recorded(warning_message, *args, **kwargs): print("##vso[task.logissue type=warning;]{0}".format(str(warning_message.message)))