hudson.util.IOException2: hudson.plugins.git.GitException: Command "git config --local credential.helper store --file=/tmp/git4646876542745620308.credentials" returned status code 255: stdout: stderr: error: could not lock config file .git/config: No such file or directory

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via jenkins-ci.org by Unknown author

Our Jenkins(J) is linked with Bitbucket(BB). A pull request(PR) is created in BB, then it's auto-built in J, then it's updated with a commit but BB doesn't update the branch, so J can't check it out. Solution: open the PR in BB web ui.

Solutions on the web

via Jenkins JIRA by Daniel Spilker, 1 year ago
hudson.plugins.git.GitException: Command "git config --local credential.helper store --file=/tmp/git4646876542745620308.credentials" returned status code 255: stdout: stderr: error: could not lock config file .git/config: No such file or directory
via Jenkins JIRA by Daniel Spilker, 1 year ago
hudson.plugins.git.GitException: Command "git config --local credential.helper store --file=/tmp/git4646876542745620308.credentials" returned status code 255: stdout: stderr: error: could not lock config file .git/config: No such file or directory
via GitHub by vircung
, 2 years ago
hudson.plugins.git.GitException: Command "/usr/bin/git ls-remote -h ssh://git@gitlab.---------------------------------------.git develop" returned status code 128: stdout: stderr: Access denied. fatal: The remote end hung up unexpectedly
via Jenkins JIRA by Guang Su, 1 year ago
hudson.plugins.git.GitException: Command "git -c core.askpass=true ls-remote -h git@github.com:xxxxxxxxxxxxxxxxxxxxx.git master" returned status code 128: stdout: stderr: fatal: failed to stat '.': Permission denied
via Jenkins JIRA by cswarren, 1 year ago
hudson.plugins.git.GitException: Command "git config --local credential.helper store --file=\"C:\Windows\TEMP\git4966117369976036349.credentials\"" returned status code 255: stdout: stderr: error: could not lock config file .git/config: File exists
via Jenkins JIRA by cswarren, 1 year ago
hudson.plugins.git.GitException: Command "git config --local credential.helper store --file=\"C:\Windows\TEMP\git4966117369976036349.credentials\"" returned status code 255: stdout: stderr: error: could not lock config file .git/config: File exists
hudson.plugins.git.GitException: Command "git config --local credential.helper store --file=/tmp/git4646876542745620308.credentials" returned status code 255: stdout: stderr: error: could not lock config file .git/config: No such file or directory
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1097)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1074)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1070)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:971)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:928)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getHeadRev(CliGitAPIImpl.java:1449)
at hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:489)
at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
at hudson.scm.SCM.poll(SCM.java:373)
at hudson.model.AbstractProject._poll(AbstractProject.java:1584)
at hudson.model.AbstractProject.poll(AbstractProject.java:1493)
at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:456)
at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:485)
at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)

Users with the same issue

Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.