Add internal enviroment variables to note message
Modifies Git Publisher note msg log
[FIXES JENKINS-14321] - Do not re-use last build's environment for remote polling

Fixes, the original 'fix' in 3d9a73d26b129249c51fccfca6060280197b25eb it appears
that a crucial check on the newly implemented argument wasn't actually implemented.

I've changed the condition to test this rather than set 'b' to null if reuseLastBuildEnv
is set to true as 'b' is de-referenced later in the getPollEnvironment method.

Rather worryingly it appears that the existing code in getPollEnvironment tests at one
point whether 'b' is null, but then later (outside this test) derefences it anyway, but
this commit does not make that particular problem any worse.

Signed-off-by: ciaranj <ciaranj@gmail.com>
Fixes potential NPE if no previous build exists

Signed-off-by: ciaranj <ciaran.jessup@thisisnumero.com>
GitTool configuration moved to git-client plugin
[JENKINS-17013] NullPointerException when no "Default" GitTool installation is set
set commit author/committer using (new) GitClient#commit method
BuildChoosers updated to use GitClient
[JENKINS-17013] use default git installation if none matches
[maven-release-plugin] prepare release git-1.3.0
[maven-release-plugin] prepare for next development iteration
Merge pull request #102 from ciaranj/make_fast_poll_use_master_env

[FIXES JENKINS-14321] - Do not re-use last build's environment for remote polling
[FIXED JENKINS-6203] force UTF-8 when reading change log
according to https://www.kernel.org/pub/software/scm/git/docs/git-log.html, git CLI uses UTF-8 by default to produce change log entries, so no impact on git-client.
Merge pull request #91 from Jonux/master

Adds additional enviromental values to git notes
use default location for help files
[FIXED JENKINS-17195] avoid whitespace in tag name
(enforced by JGit)
Insert an underscore where whitespace exists in project names during tagging.
Merge pull request #141 from dlvenable/whitespace-fix

Replace whitespace with underscore - JENKINS-17195
Add replace to project name

When the project name has spaces in the name it causes the git.tag() call to fail.
Merge pull request #142 from darthtanner/patch-1

Add replace to project name