How can I convert a build result contribution to a JUnit Class Handle
Currently, JUnit tests are reported/displayed to the "Tests" tab of our RTC builds. I'm trying to write some custom tooling around getting the test suite/class names that fail out on each build. I've written code to get the build result contributions for each build. However, I'm having trouble converting those contributions into a form that I can use with the IJUnitTestCase and IJUnitTestClass api. Any suggestions/help with this would be really appreciated.
One answer
you need to retrieve the content from the contribution object.
I don't know how to convert that to what you need.. I don't know what the data stream looks like.
here is a post with code to get the contents
https://jazz.net/forum/questions/176187/how-to-download-log-file-from-build-result-through-plain-java-client-library
I don't know how to convert that to what you need.. I don't know what the data stream looks like.
here is a post with code to get the contents
https://jazz.net/forum/questions/176187/how-to-download-log-file-from-build-result-through-plain-java-client-library