Hudson passes various environment variables to Maven, which you can access from Maven as "${env.VARIABLENAME}".
The same variables can be used in command-line arguments (as if you are invoking this from shell). For example, you can specify -DresultsFile=${WORKSPACE}/${BUILD_TAG}.results.txt