Risk Tests Reordering in Custom Test Runner
note
TeamCity will pass teamcity.tests.runRiskGroupTestsFirst, teamcity.tests.recentlyFailedTests.file and teamcity.build.changedFiles.file properties to the build process, but if process starts additional JVM or other processes, these properties won't be passed to them automatically.
For example, if you are using Ant runner, you will have access to these properties from the Ant build.xml. But if your build.xml starts new JVM (or
<junit/>
task withfork="yes"
attribute), and you want to access these properties from this JVM, you'll have to modify your build script and pass them explicitly.
Thanks for your feedback!
Was this page helpful?