Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-12513

git plugin should automatically remove .git/index.lock if the job is killed

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            bnovc bnovc created issue -
            ndeloof Nicolas De Loof made changes -
            Field Original Value New Value
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Won't Fix [ 2 ]
            rschulz Roland Schulz made changes -
            Resolution Won't Fix [ 2 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            ronmacneil_ice Ron MacNeil made changes -
            Link This issue is related to JENKINS-25353 [ JENKINS-25353 ]
            markewaite Mark Waite made changes -
            Link This issue is duplicated by JENKINS-35648 [ JENKINS-35648 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 142879 ] JNJira + In-Review [ 186042 ]
            jglick Jesse Glick made changes -
            Link This issue is duplicated by JENKINS-37037 [ JENKINS-37037 ]
            markewaite Mark Waite made changes -
            Link This issue is related to JENKINS-47652 [ JENKINS-47652 ]
            markewaite Mark Waite made changes -
            Component/s git-client-plugin [ 17423 ]
            Component/s git-plugin [ 15543 ]
            markewaite Mark Waite made changes -
            Link This issue is duplicated by JENKINS-47652 [ JENKINS-47652 ]
            markewaite Mark Waite made changes -
            Link This issue is duplicated by JENKINS-25353 [ JENKINS-25353 ]
            markewaite Mark Waite made changes -
            Status Reopened [ 4 ] Open [ 1 ]
            markewaite Mark Waite made changes -
            Assignee Andrew Bayer [ abayer ]

              People

              • Assignee:
                Unassigned
                Reporter:
                bnovc bnovc
              • Votes:
                27 Vote for this issue
                Watchers:
                27 Start watching this issue

                Dates

                • Created:
                  Updated: