How to overwrite test report console output?


(Christopher Buruchian) #1

Question
Is there a way to overwrite the printed destination of reports? We would like to overwrite the “file:///…” and instead post a url, so that it is easier to view reports when reading the console output from Jenkins

Expected:

There were failing tests. See the report at: http://www.example.com/reports/module/build/reports/tests/testDebugUnitTest/index.html

Actual:

There were failing tests. See the report at: file:///var/lib/jenkins/workspace/sample/sample/build/reports/tests/testDebugUnitTest/index.html

Resources Read:

Thanks in advance,
Chris