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

GitHub push hook fails due to credential helper

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • git-plugin, github-plugin
    • None
    • Windows Server 2008
      Jenkins 1.548
      Current on all plugins

      A trigger from github results no builds being triggered. The following message is in the GitHib Hook Log.

      Started on Jan 21, 2014 2:57:32 PM
      Using strategy: Default
      [poll] Last Built Revision: Revision d93b3074fd2709faba94b5c06daf4d6346d1a13c (origin/develop)
      using .gitcredentials to set credentials
      Could not remove the credential section from the git configuration
      FATAL: hudson.plugins.git.GitException: Command "git config --local credential.helper store --file=\"C:\Users\bsimms\AppData\Local\Temp\git3856008338051386387.credentials\"" returned status code 255:
      stdout:
      stderr: error: could not lock config file .git/config: No such file or directory

      hudson.util.IOException2: hudson.plugins.git.GitException: Command "git config --local credential.helper store --file=\"C:\Users\bsimms\AppData\Local\Temp\git3856008338051386387.credentials\"" returned status code 255:
      stdout:
      stderr: error: could not lock config file .git/config: No such file or directory

      at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:459)
      at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
      at hudson.scm.SCM.poll(SCM.java:373)
      at hudson.model.AbstractProject._poll(AbstractProject.java:1581)
      at hudson.model.AbstractProject.poll(AbstractProject.java:1490)
      at com.cloudbees.jenkins.GitHubPushTrigger$1.runPolling(GitHubPushTrigger.java:73)
      at com.cloudbees.jenkins.GitHubPushTrigger$1.run(GitHubPushTrigger.java:98)
      at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Caused by: hudson.plugins.git.GitException: Command "git config --local credential.helper store --file=\"C:\Users\bsimms\AppData\Local\Temp\git3856008338051386387.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:1086)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1063)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:914)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:964)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:922)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getHeadRev(CliGitAPIImpl.java:1438)
      at hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:489)
      at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:457)
      ... 13 more
      Done. Took 0.73 sec
      No changes

            ndeloof Nicolas De Loof
            wbsimms William Simms
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: