-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
Jenkins 1.566
git plugin 2.2.1
git client plugin 1.9.1
JGit
Tomcat 7
Java 1.7.0_60
RHEL6
gitblit Repos / http
JGit implementation does not reset existing tracked files (modified by a previous build)at the start of each job. Command line git implementation does reset existing tracked files modified by a previous build.
The git fetch works, moreover the correct commit hashcode is used (visible in console log).
A manual (commandline!) "git reset --hard" updates the working dir.
Our workaround: Force delete jenkins working dir.