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
Please sign in to leave a comment.
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
Hi
REST API also exposes this string.
Build page at http://teamcity/app/rest/builds/id:<...> shows this status in /build/statusText element.
I did not know this - I am adding this to TeamCitySharp with immediate effect :)
Thanks Michael