hudson.plugins.git.GitException: Could not apply tag [project name] test-17

Jenkins JIRA | faisal ali | 4 years ago
  1. 0

    ok, so, before I explain my issue, I must mention that I am fairly new to jenkins and github, both.. The issue is, I have managed to attach jenkins Job with github project, but when I try to build the job on jenkins, I get the following error to my email: Started by user anonymous Building in workspace <http://127.0.0.1:8080/job/work_test/ws/> Checkout:workspace / <http://127.0.0.1:8080/job/work_test/ws/> - hudson.remoting.LocalChannel@7932e6fd Using strategy: Default Fetching changes from 1 remote Git repository Fetching upstream changes from git@github.com:[user]/[project]-portal.git Seen branch in repository origin/HEAD Seen branch in repository origin/develop Seen branch in repository origin/development_umair Seen branch in repository origin/logs_redesign Seen branch in repository origin/master Seen branch in repository origin/overviewtabs Commencing build of Revision b65f1a84d55a048accbcf7af2f56bb357fe73b64 (origin/overviewtabs) Checking out Revision b65f1a84d55a048accbcf7af2f56bb357fe73b64 (origin/overviewtabs) FATAL: Could not apply tag jenkins-[project name]_test-17 hudson.plugins.git.GitException: Could not apply tag [project name] test-17 at hudson.plugins.git.GitAPI.tag(GitAPI.java:829) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1270) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1231) at hudson.FilePath.act(FilePath.java:852) at hudson.FilePath.act(FilePath.java:825) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1231) at hudson.model.AbstractProject.checkout(AbstractProject.java:1325) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:682) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:587) at hudson.model.Run.execute(Run.java:1543) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: hudson.plugins.git.GitException: Command "git tag -a -f -m Jenkins Build #17 jenkins-[project name]_test-17" returned status code 128: stdout: stderr: *** Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. fatal: empty ident <jenkins@[email]-KJ419AA-AB4-a6417l.(none)> not allowed at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:897) at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:858) at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:868) at hudson.plugins.git.GitAPI.tag(GitAPI.java:827) ... 13 more Need detailed yet easy for a new be to configure type of help.. =)

    Jenkins JIRA | 4 years ago | faisal ali
    hudson.plugins.git.GitException: Could not apply tag [project name] test-17
  2. 0

    ok, so, before I explain my issue, I must mention that I am fairly new to jenkins and github, both.. The issue is, I have managed to attach jenkins Job with github project, but when I try to build the job on jenkins, I get the following error to my email: Started by user anonymous Building in workspace <http://127.0.0.1:8080/job/work_test/ws/> Checkout:workspace / <http://127.0.0.1:8080/job/work_test/ws/> - hudson.remoting.LocalChannel@7932e6fd Using strategy: Default Fetching changes from 1 remote Git repository Fetching upstream changes from git@github.com:[user]/[project]-portal.git Seen branch in repository origin/HEAD Seen branch in repository origin/develop Seen branch in repository origin/development_umair Seen branch in repository origin/logs_redesign Seen branch in repository origin/master Seen branch in repository origin/overviewtabs Commencing build of Revision b65f1a84d55a048accbcf7af2f56bb357fe73b64 (origin/overviewtabs) Checking out Revision b65f1a84d55a048accbcf7af2f56bb357fe73b64 (origin/overviewtabs) FATAL: Could not apply tag jenkins-[project name]_test-17 hudson.plugins.git.GitException: Could not apply tag [project name] test-17 at hudson.plugins.git.GitAPI.tag(GitAPI.java:829) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1270) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1231) at hudson.FilePath.act(FilePath.java:852) at hudson.FilePath.act(FilePath.java:825) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1231) at hudson.model.AbstractProject.checkout(AbstractProject.java:1325) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:682) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:587) at hudson.model.Run.execute(Run.java:1543) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: hudson.plugins.git.GitException: Command "git tag -a -f -m Jenkins Build #17 jenkins-[project name]_test-17" returned status code 128: stdout: stderr: *** Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. fatal: empty ident <jenkins@[email]-KJ419AA-AB4-a6417l.(none)> not allowed at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:897) at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:858) at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:868) at hudson.plugins.git.GitAPI.tag(GitAPI.java:827) ... 13 more Need detailed yet easy for a new be to configure type of help.. =)

    Jenkins JIRA | 4 years ago | faisal ali
    hudson.plugins.git.GitException: Could not apply tag [project name] test-17
  3. 0

    Jenkins not building github project

    Stack Overflow | 4 years ago | fassi786
    hudson.plugins.git.GitException: Could not apply tag [project name] test-17
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Git on Hudson fatal exception when updating submodule

    Stack Overflow | 4 years ago | serenskye
    hudson.plugins.git.GitException: Command "git submodule update" returned status code 1: stdout: stderr: fatal: reference is not a tree: 72294b9c60128b4495dfe0bf3aa014b3bf1853e9 Unable to checkout '72294b9c60128b4495dfe0bf3aa014b3bf1853e9' in submodule path 'sub/Android-ViewPagerIndicator'
  6. 0

    madroom project: JenkinsでGitプロジェクトをビルドしてみる

    blogspot.com | 11 months ago
    hudson.plugins.git.GitException: Could not apply tag jenkins-FuelPHP-3

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. hudson.plugins.git.GitException

      Command "git tag -a -f -m Jenkins Build #17 jenkins-[project name]_test-17" returned status code 128: stdout: stderr: *** Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. fatal: empty ident <jenkins@[email]-KJ419AA-AB4-a6417l.(none)> not allowed

      at hudson.plugins.git.GitAPI.launchCommandIn()
    2. Hudson GIT plugin
      GitSCM$4.invoke
      1. hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:897)
      2. hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:858)
      3. hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:868)
      4. hudson.plugins.git.GitAPI.tag(GitAPI.java:827)
      5. hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1270)
      6. hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1231)
      6 frames
    3. Hudson
      FilePath.act
      1. hudson.FilePath.act(FilePath.java:852)
      2. hudson.FilePath.act(FilePath.java:825)
      2 frames
    4. Hudson GIT plugin
      GitSCM.checkout
      1. hudson.plugins.git.GitSCM.checkout(GitSCM.java:1231)
      1 frame
    5. Hudson
      AbstractBuild$AbstractBuildExecution.defaultCheckout
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:1325)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:682)
      2 frames
    6. jenkins.scm
      SCMCheckoutStrategy.checkout
      1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
      1 frame
    7. Hudson
      Executor.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:587)
      2. hudson.model.Run.execute(Run.java:1543)
      3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      4. hudson.model.ResourceController.execute(ResourceController.java:88)
      5. hudson.model.Executor.run(Executor.java:236)
      5 frames