I have added a new parameter say cversion -> "xxx" in eclipse Run Configuration.
Now in the testng testcase i try to fetch the value using System.getProperty(). This returns the value correctly "xxx".
P.S : I have maven-surefire plugin added in my pom.xml BUT didn't add the systempropertyvariable.
Now if i try to run the test in Jenkins, the systemproperty variable does NOT return the expected value.It is empty.
Could anyone explain the reason behind this behaviour ?