Publishing test results through command line test runner in VSTS

后端 未结 2 1371
遥遥无期
遥遥无期 2020-12-21 06:29

I\'m trying to use vstest.console.exe with the TfsPublisher logger in VSTS (cloud).

There\'s a URL example shown in the article for TFS onsite, but I\'m trying to wo

相关标签:
2条回答
  • 2020-12-21 07:09

    I effectively got the result I wanted using the Trx logger and one of the "Publish Test Results" build steps:

    vstest.console.exe ... /logger:Trx
    

    0 讨论(0)
  • 2020-12-21 07:21

    The build name is generated by "Build number format" under build definition "General" tab. You can get it from "BUILD_BUILDNUMBER" variable.

    0 讨论(0)
提交回复
热议问题