You could have each of the builds generate a "stub" unit test result file which contains a single passing test, then have your testing job also add the real tests. That will only skew your test counts slightly, and will avoid the work of trying to find a way to create a different variation within a multi-config job.
Mark Waite >________________________________ > From: Simon Haegler <simon.haeg...@gmail.com> >To: jenkinsci-users@googlegroups.com >Sent: Thursday, November 8, 2012 2:44 AM >Subject: multi configuration project and xunit post build task > > >hi fellow jenkins users > > >we have a multiconfiguration project where one axis reads "release, >development, testing". in case of "testing" we're compiling and running unit >tests (boost unit tests, actually). we would like to use the xunit post-build >task to report the test results, but we need xunit to ignore the other cases >(release, development) where no test results are produced. xunit obviously >fails if it does not find any xml files. i tried the "flexible publish" >plugin, but it does not work with xunit. > > >any other ideas? > > >TIA, >simon > > > > >