|
bnovc created JENKINS-12513:
------------------------------- Summary: git plugin should automatically remove .git/index.lock if the job is killed Key: JENKINS-12513 URL: https://issues.jenkins-ci.org/browse/JENKINS-12513 Project: Jenkins Issue Type: Task Components: git Reporter: bnovc Assignee: abayer 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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
|||||||||||
|
In reply to this post by JIRA noreply@jenkins-ci.org
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/groups/opt_out. |
|||||||||||
| Powered by Nabble | Edit this page |

Was wondering on the progress of this issue.. we get this issue when the job is aborted when git is executing. The workaround works, but I guess isn't ideal as it would've to be added to every job separately (and would require separate delete commands for linux/windows). Cheers!