Made it so the plugin will use Jenkin enviroment variables if passed into certain fields.
Fixed duplicate code. Issue with merging new code.
Merge pull request #9 from SamJessop/master

Added Jenkins Environment Variables