TFS Rest API not working for logs

后端 未结 1 1719
暗喜
暗喜 2021-01-29 00:47

Any idea why this method does not work:

GET https://{instance}/DefaultCollection/{project}/_apis/build/builds/{buildId}/logs?api-version=2.0

I

相关标签:
1条回答
  • 2021-01-29 01:35

    I'm not sure if this is a supported API, but the following works for me.

    VSTS: https://{instance}.visualstudio.com/{project}/_apis/build/builds/{buildid}/logs?$format=zip

    TFS: http://{instance}/Collection/{project}/_apis/build/builds/81590/logs?$format=zip

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