[JIRA] (JENKINS-60590) Git plugin 4.0 and earlier leaks a file handle in some repository access

9 views
Skip to first unread message

mark.earl.waite@gmail.com (JIRA)

unread,
Dec 26, 2019, 11:24:03 AM12/26/19
to jenkinsc...@googlegroups.com
Mark Waite updated Bug JENKINS-60590
 
Jenkins / Bug JENKINS-60590
Git plugin 4.0 and earlier leaks a file handle in some repository access
Change By: Mark Waite
Status: In Progress Review
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

mark.earl.waite@gmail.com (JIRA)

unread,
Dec 26, 2019, 11:24:03 AM12/26/19
to jenkinsc...@googlegroups.com
Mark Waite created an issue
Issue Type: Bug Bug
Assignee: Mark Waite
Components: git-plugin
Created: 2019-12-26 16:23
Labels: pipeline
Priority: Major Major
Reporter: Mark Waite

Releases 4.0 and earlier of the git plugin use JGit to open a repository in the AbstractGitSCMSource.retrieve() method and fail to explicitly close the repository. That method is used for Jenkins pipeline access.

That may cause a file handle leak when that method is called.

Detected and fixed by slonopotamus in git plugin pull request 798 .

mark.earl.waite@gmail.com (JIRA)

unread,
Dec 26, 2019, 11:24:03 AM12/26/19
to jenkinsc...@googlegroups.com
Mark Waite started work on Bug JENKINS-60590
 
Change By: Mark Waite
Status: Open In Progress

mark.earl.waite@gmail.com (JIRA)

unread,
Dec 26, 2019, 11:25:02 AM12/26/19
to jenkinsc...@googlegroups.com

mark.earl.waite@gmail.com (JIRA)

unread,
Dec 26, 2019, 11:25:02 AM12/26/19
to jenkinsc...@googlegroups.com

mark.earl.waite@gmail.com (JIRA)

unread,
Dec 26, 2019, 11:26:03 AM12/26/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages