Added environment variable to specify remote maven agent address

I am working on a plugin to run jobs in a docker container. This change is necessary to run maven builds in the container since loopback and the local hostname will refer to the container rather than the host system where the jenkins agent service is running.