How Can I Get This Via The REST API?

Hi,

Some fields in my test results don't seem to be available via REST.  Specifically, I wanted to the the 'Results' field values (see attached screenshot).

How can I get that via the REST interface?

Tks,
-T



Attachment(s):
TCResultField.png
3 comments
Comment actions Permalink

I don't believe this information is available via the REST API. The test results are actually a build artifact created by the unit test runner - it just so happens that TeamCity takes that report and uses it within the build report

I may get corrected by JetBrains staff on this. You can download the artifacts separately though http://<server url>/repository/download/<buildTypeId>/<build id>:id

Paul

0
Comment actions Permalink

Hi

REST API also exposes this string.
Build page at http://teamcity/app/rest/builds/id:<...> shows this status in /build/statusText element.

0
Comment actions Permalink

I did not know this - I am adding this to TeamCitySharp with immediate effect :)

Thanks Michael

0

Please sign in to leave a comment.