Quantcast

[JIRA] (JENKINS-12513) git plugin should automatically remove .git/index.lock if the job is killed

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12513) git plugin should automatically remove .git/index.lock if the job is killed

JIRA noreply@jenkins-ci.org
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

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12513) git plugin should automatically remove .git/index.lock if the job is killed

JIRA noreply@jenkins-ci.org
Benny Chew commented on Task JENKINS-12513

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!

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12513) git plugin should automatically remove .git/index.lock if the job is killed

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

I am also looking to see if there has been update on this issue?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
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.
 
 
Loading...