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

Git plugin keeps .gitmodules open

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • git-plugin
    • None

    Description

      In GitSCM.getSubmoduleRepository, the Git plugin opens .gitmodules through a BufferedReader, but never closes the BufferedReader.

      In Windows a file can't be modified by anything else while it's open, which means checkouts fail when .gitmodules changes between the old commit and the new commit. Hudson must be restarted to be able to change .gitmodules again.

      The fix seems pretty straight forward.

      Attachments

        Activity

          edsrzf edsrzf created issue -
          abayer Andrew Bayer made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          markewaite Mark Waite made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 137760 ] JNJira + In-Review [ 204590 ]

          People

            abayer Andrew Bayer
            edsrzf edsrzf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: