Fixed JUnit tests for JENKINS-24133 on Windows
Merge pull request #274 from pbaranchikov/detachedSha1

Fixed JUnit tests for JENKINS-24133 on Windows
Configurable "Create a tag for every build".