microsoft / vso-agent

Visual Studio Team Services and TFS agent for Mac OSX and Linux
MIT License
132 stars 57 forks source link

Publish Test result doesn't work on Linux for TFS 2015 Update 2 #278

Closed lboss75 closed 8 years ago

lboss75 commented 8 years ago

After update to TFS 2015.2 Publish test result is broken:

Test Results No test runs available for this build.

Task is publish test result JUnit format.

In tfs 2015 update 1 it works.

nigurr commented 8 years ago

Hi,

Which version of Xplat agent are you using? TFS 2015 U2 tasks are compatible with Xplat Agent 0.5.x version

If you are using latest Xplat agent, you need to use latest Publish Test Result task from https://github.com/Microsoft/vso-agent-tasks

lboss75 commented 8 years ago

I use Xplat Agent 0.5.9. I have updated all yesterday (by curl -skSL http://aka.ms/xplatagent | bash).

nigurr commented 8 years ago

Hi,

When you execute the above command, it will install the latest Agent version which is [0.6.x], which is incompatible with old "PublishTestResults" task.

Either you should explicitly download the Agent from here - https://github.com/Microsoft/vso-agent/releases [0.5.10] or you need update PublishTestResults task in your TFS from here https://github.com/Microsoft/vso-agent-tasks/

If you need help in the second choice, let us know.

nigurr commented 8 years ago

This issue is fixed in latest master and should be available in next Xplat release. Closing the issue