hudson.plugins.git.GitException

Command "git -c core.askpass=true fetch --tags --progress https://github.com/klimas7/Learn.git +refs/heads/*:refs/remotes/origin/*" returned status code 1: stdout: stderr: remote: Counting objects: 225, done. remote: Total 225 (delta 0), reused 0 (delta 0), pack-reused 225 Receiving objects: 100% (225/225), 27.13 KiB | 0 bytes/s, done. Resolving deltas: 100% (36/36), done. error: cannot lock ref 'refs/remotes/origin/feature/test_1.0': Unable to create '/var/lib/jenkins/jobs/GitParameter_gitHub/workspace/.git/refs/remotes/origin/feature/test_1.0.lock': Plik istnieje. If no other git process is currently running, this probably means a git process crashed in this repository earlier. Make sure no other git process is running and remove the file manually to continue. From https://github.com/klimas7/Learn ! [new branch] feature/test_1.0 -> origin/feature/test_1.0 (unable to update local ref) * [new branch] master -> origin/master * [new tag] Tag_1.0 -> Tag_1.0

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1445

  • via Google Groups by lu...@compass.com (JIRA), 11 months ago
    ), reused 0 (delta 0), pack-reused 225 Receiving objects: 100% (225/225), 27.13 KiB | 0 bytes/s, done. Resolving deltas: 100% (36/36), done. error: cannot lock ref 'refs/remotes/origin/feature/test_1.0': Unable to create '/var/lib/jenkins/jobs
  • via Google Groups by Jenkins, 6 months ago
    /refs/remotes/origin/master.lock'>: File exists. If no other git process is currently running, this probably means a git process crashed in this repository earlier. Make sure no other git process is running and remove the file manually to continue.
  • Command "git fetch --tags --progress gitlab@gitlab:group/project.git +refs/heads/*:refs/remotes/origin/* --prune" returned status code 1: stdout: stderr: remote: Counting objects: 14, done. remote: Compressing objects: 7% (1/14) remote
  • Stack trace

    • hudson.plugins.git.GitException: Command "git -c core.askpass=true fetch --tags --progress https://github.com/klimas7/Learn.git +refs/heads/*:refs/remotes/origin/*" returned status code 1: stdout: stderr: remote: Counting objects: 225, done. remote: Total 225 (delta 0), reused 0 (delta 0), pack-reused 225 Receiving objects: 100% (225/225), 27.13 KiB | 0 bytes/s, done. Resolving deltas: 100% (36/36), done. error: cannot lock ref 'refs/remotes/origin/feature/test_1.0': Unable to create '/var/lib/jenkins/jobs/GitParameter_gitHub/workspace/.git/refs/remotes/origin/feature/test_1.0.lock': Plik istnieje. If no other git process is currently running, this probably means a git process crashed in this repository earlier. Make sure no other git process is running and remove the file manually to continue. From https://github.com/klimas7/Learn ! [new branch] feature/test_1.0 -> origin/feature/test_1.0 (unable to update local ref) * [new branch] master -> origin/master * [new tag] Tag_1.0 -> Tag_1.0 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1723) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1459) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:63) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:314) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:506) at org.jenkinsci.plugins.gitclient.AbstractGitAPIImpl.clone(AbstractGitAPIImpl.java:67) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.clone(CliGitAPIImpl.java:63) at net.uaznia.lukanus.hudson.plugins.gitparameter.GitParameterDefinition.initWorkspace(GitParameterDefinition.java:368)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 9 months ago
    Unknown user
    2 times, 10 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    2 more bugmates