Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

close() called when useCnt is already zero #1450

Open
githubzhangfei opened this issue Sep 2, 2023 · 2 comments
Open

close() called when useCnt is already zero #1450

githubzhangfei opened this issue Sep 2, 2023 · 2 comments

Comments

@githubzhangfei
Copy link

jenkins is deployed in docker and git version 2.39.2 is installed in jenkins. when git goes to gitblit and uses https to pull code, he prompts me from time to time to close() called when useCnt is already zero!!!Wait about two minutes and ask again. What's the problem

@flaix
Copy link
Member

flaix commented Sep 5, 2023

I am not sure I understand where that error message is shown. Are you saying that you run a Jenkins and the Jenkins has the Git Plugin and this error shows up in the Jenkins log?
Or is this from running git on a terminal?
Or is this message from the Gitblit log and if so, what is the behaviour on the git side?

@GitHuFish
Copy link

jenkins is deployed in docker and git version 2.39.2 is installed in jenkins. when git goes to gitblit and uses https to pull code, he prompts me from time to time to close() called when useCnt is already zero!!!Wait about two minutes and ask again. What's the problem

Hi, I have the same problem and hope I can help you. I don't speak English well, excuse me.

I use gitblit too, the version is 1.9.1, I found the gitblit's repo has double '/', like this:

gitblit_repo_url

and gitblit's jenkins.groovy file, I try print these two properties: jenkinsGitbaseurl, triggerUrl, the terminal show that there is also double '/'. So I modified the jenkins.groovy, like this:

gitblit_removeline

That's all right.

I thought it is a bug of gitblit, and I will upgrade gitblit to the latest version and try again someday.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants