我们有一个每晚定时运行测试并将结果发布到测试运行的流水线。我们可以看到测试运行的URL,因为这是由PublishTestResults@2任务生成的。我想通过电子邮件向一组用户发送DevOps链接来扩展此功能。
以下是当前发布任务的样子:
这方面有什么推荐的方法吗?
以下是当前发布任务的样子:
steps:
# Publish test results (to show the test details in JUnit format)
- task: PublishTestResults@2
displayName: 'Publish test results'
inputs:
testResultsFormat: 'JUnit'
testResultsFiles: '*.xml'
searchFolder: '$(Build.SourcesDirectory)/cypress/reports/junit'
mergeTestResults: true
testRunTitle: 'Publish Test Results'
condition: succeededOrFailed()
continueOnError: true
这方面有什么推荐的方法吗?