[JENKINS-23184] Perforce plugin to contribute more env variables for the build 

Our build system depends on certain variables provided by Perforce plugin and I'd like these to be merged to the official plugin. We could also live with configurable names for these variables.