By default, the user house is determined by the Java system property user.home. Using the following groovy code, you can get it:
System.getProperties ('user.home')
Using System.setProperty (key, value), you can set USER_HOME however you want.
source
share