Posted: March 09, 2011 12:11 by paulnnosh
I'm using Hudson to build my project using ANT.
I need to set a System Property that will be available to the underlying Junit Tests via System.getProperty()...
When I used Team City I simply set the property in the ANT_OPTS and it ispicked up.
Under the Hudson configuration I have set the Java Options to
Dproperty.name="blah". When the tests run this is showing as a null value when I test for the property.
Can anybody explain why this is and what I need to do to fix it. I really like Hudson but at the moment I'm stuck with Team City as I don't have this problem using it.