How to add href links to <system-out> or <failure> tags in Jenkins / JUNIT xml
I included Jenkins in the C unit test library, and I parse the output and generate the XML in a schema that jenkins understand.
when generating xml output, I just show the essence of the error messages, and I would like to create a link to where the actual logs are located, so that the user can click on the link in jenkins to view the actual file.
I cannot add HTML tags to this XML. Jenkins turns them into encoded ... and makes my connection useless. I am even trying to use. But I still can't get it.
Has anyone tried to create a link in a jenkins report. Any help is greatly appreciated.
The following steps did not work.
1.<failure> blah.. blah.. (my brief log summary)
<a href="www.stackoverflow.com">ERROR</a>
</failure>
2. <failure> blah.. blah.. (my brief log summary)
<a href=\quot;www.stackoverflow.com\quot;> ERROR </a>
</failure>
3. <failure>
<![CDATA[ <a href="www.stackoverflow.com">ERROR</a>]]>
</failure>
4. <failure>
//CDATA with encoded > <
Thanks in advance
+2
3