hudson.plugins.git.GitException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • After the first clone of a repository for a new job, the Git module runs 'git tag -l hudson-*' to look for existing tags. Since there are none yet the command fails and exits with a non-zero return code (1). At this point the job fails rather than running the job and creating a tag for the next poll cycle. Manually creating a tag enabled the next poll to succeed and kick off the job. [workspace] $ git tag -l hudson-* FATAL: Error performing git tag -l hudson-* hudson.plugins.git.GitException: Error performing git tag -l hudson-* at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:282) at hudson.plugins.git.GitAPI.getHudsonTags(GitAPI.java:292) at hudson.plugins.git.GitSCM.branchesThatNeedBuilding(GitSCM.java:431) at hudson.plugins.git.GitSCM.access$100(GitSCM.java:44) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:271) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:235) at hudson.FilePath.act(FilePath.java:552) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:235) at hudson.model.AbstractProject.checkout(AbstractProject.java:807) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:313) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:265) at hudson.model.Run.run(Run.java:899) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119) Caused by: hudson.plugins.git.GitException: Command returned status code 1: at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:277) ... 14 more
    via by ilikeimac,
  • After the first clone of a repository for a new job, the Git module runs 'git tag -l hudson-*' to look for existing tags. Since there are none yet the command fails and exits with a non-zero return code (1). At this point the job fails rather than running the job and creating a tag for the next poll cycle. Manually creating a tag enabled the next poll to succeed and kick off the job. [workspace] $ git tag -l hudson-* FATAL: Error performing git tag -l hudson-* hudson.plugins.git.GitException: Error performing git tag -l hudson-* at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:282) at hudson.plugins.git.GitAPI.getHudsonTags(GitAPI.java:292) at hudson.plugins.git.GitSCM.branchesThatNeedBuilding(GitSCM.java:431) at hudson.plugins.git.GitSCM.access$100(GitSCM.java:44) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:271) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:235) at hudson.FilePath.act(FilePath.java:552) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:235) at hudson.model.AbstractProject.checkout(AbstractProject.java:807) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:313) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:265) at hudson.model.Run.run(Run.java:899) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119) Caused by: hudson.plugins.git.GitException: Command returned status code 1: at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:277) ... 14 more
    via by ilikeimac,
  • Hudson+Git clone failure
    via Stack Overflow by Nerdia
    ,
  • Hudson git clone error
    via Stack Overflow by Željko Filipin
    ,
  • Jenkins could not run git
    via Stack Overflow by Andreas Köberle
    ,
    • hudson.plugins.git.GitException: Error performing git tag -l hudson-* at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:282) at hudson.plugins.git.GitAPI.getHudsonTags(GitAPI.java:292) at hudson.plugins.git.GitSCM.branchesThatNeedBuilding(GitSCM.java:431) at hudson.plugins.git.GitSCM.access$100(GitSCM.java:44) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:271) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:235) at hudson.FilePath.act(FilePath.java:552) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:235) at hudson.model.AbstractProject.checkout(AbstractProject.java:807) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:313) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:265) at hudson.model.Run.run(Run.java:899) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119) Caused by: hudson.plugins.git.GitException: Command returned status code 1: at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:277) ... 14 more
    No Bugmate found.