R – how to change cruisecontrol head.xsl to reflect value dynamically from testng

cruisecontrol.netseleniumtestng

Currently I can hard code the header.xsl in cruisecontrol to show anything I want (e.g. browser type), but I'd like to also see the version of my app testng is running against. The version number is situated on the first page of my app under a div class. Is there a way to have cruisecontrol set the value into the header.xsl from grabbing the testng report?

Expected result:
I want to see on the cruisecontrol report info about my app like version #

Thanks.

Best Answer

Is that version number ever output during the build process? Can you find it in the build log? If so it should be rather easy to figure out the xsl necessary to get it. If it isn't you would have to do a lot of customizing because they system expects to only display info inside the build log, statistics.csv, and report.xml files.

Related Topic