-
Task
-
Resolution: Unresolved
-
Major
-
None
Git will create a .git/index.lock file when it is executing. If the job is killed, the git process is killed, and therefore the lock file is left over. All subsequent attempts to run git in that workspace on that machine will fail.
One solution is to delete this file in the post-build task of the job automatically.
- is duplicated by
-
JENKINS-37037 When git fetch crash or timeout before the Jenkinsfile execution, the internal multibranch workspace is broken
- Resolved
-
JENKINS-25353 Git operations fail due to "dead", but lingering lock file
- Closed
-
JENKINS-35648 Aborting thread doing git operation leaves repository in unclean state
- Closed
-
JENKINS-47652 "Another git process seems to be running in this repository" when Jenkins is the only thing using workspaces
- Closed
- is related to
-
JENKINS-25353 Git operations fail due to "dead", but lingering lock file
- Closed
-
JENKINS-47652 "Another git process seems to be running in this repository" when Jenkins is the only thing using workspaces
- Closed