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

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.

  • 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.. =)
    via by faisal ali,
  • 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.. =)
    via by faisal ali,
  • Jenkins not building github project
    via Stack Overflow by fassi786
    ,
  • madroom project: January 2013
    via by Unknown author,
  • There seems to be a problem with path names that are longer than certain threshold (180 chars?): Last Built Revision: Revision 2f3e4adfdbf5f19ae77421546c2b575ac41f6304 (origin/master) Fetching changes from 1 remote Git repository Fetching upstream changes from https://xxxxxx:XXXXXXXXXXXX@fisheye.xxxx.xxxx.net/git/xxxx.git Commencing build of Revision d5cba9a47c5a51b5e6ba3f3ff9a94849f63b87d7 (origin/master) Checking out Revision d5cba9a47c5a51b5e6ba3f3ff9a94849f63b87d7 (origin/master) FATAL: Could not checkout null with start point d5cba9a47c5a51b5e6ba3f3ff9a94849f63b87d7 hudson.plugins.git.GitException: Could not checkout null with start point d5cba9a47c5a51b5e6ba3f3ff9a94849f63b87d7 at hudson.plugins.git.GitAPI.checkoutBranch(GitAPI.java:931) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1285) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1269) at hudson.FilePath.act(FilePath.java:852) at hudson.FilePath.act(FilePath.java:825) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1269) at hudson.model.AbstractProject.checkout(AbstractProject.java:1325) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581) at hudson.model.Run.execute(Run.java:1516) 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 "c:\git\bin\git.exe checkout -f d5cba9a47c5a51b5e6ba3f3ff9a94849f63b87d7" returned status code 1: stdout: stderr: error: unable to create file 5000_Construction/5100_Code_Base/Tools/JPA2Generation/com.xxxxx.xxxx.xtext.persistencemodel.datascript.ui/src-gen/com/xxxx/tss/xtext/persistencemodel/ui/contentassist/antlr/PartialDatascriptContentAssistParser.java (No such file or directory)
    via by O H,
  • kakakikikekeのブログ: 1月 2013
    via by Unknown author,
  • There seems to be a problem with path names that are longer than certain threshold (180 chars?): Last Built Revision: Revision 2f3e4adfdbf5f19ae77421546c2b575ac41f6304 (origin/master) Fetching changes from 1 remote Git repository Fetching upstream changes from https://xxxxxx:XXXXXXXXXXXX@fisheye.xxxx.xxxx.net/git/xxxx.git Commencing build of Revision d5cba9a47c5a51b5e6ba3f3ff9a94849f63b87d7 (origin/master) Checking out Revision d5cba9a47c5a51b5e6ba3f3ff9a94849f63b87d7 (origin/master) FATAL: Could not checkout null with start point d5cba9a47c5a51b5e6ba3f3ff9a94849f63b87d7 hudson.plugins.git.GitException: Could not checkout null with start point d5cba9a47c5a51b5e6ba3f3ff9a94849f63b87d7 at hudson.plugins.git.GitAPI.checkoutBranch(GitAPI.java:931) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1285) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1269) at hudson.FilePath.act(FilePath.java:852) at hudson.FilePath.act(FilePath.java:825) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1269) at hudson.model.AbstractProject.checkout(AbstractProject.java:1325) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581) at hudson.model.Run.execute(Run.java:1516) 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 "c:\git\bin\git.exe checkout -f d5cba9a47c5a51b5e6ba3f3ff9a94849f63b87d7" returned status code 1: stdout: stderr: error: unable to create file 5000_Construction/5100_Code_Base/Tools/JPA2Generation/com.xxxxx.xxxx.xtext.persistencemodel.datascript.ui/src-gen/com/xxxx/tss/xtext/persistencemodel/ui/contentassist/antlr/PartialDatascriptContentAssistParser.java (No such file or directory)
    via by O H,
    • 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

    Users with the same issue

    Unknown visitor1 times, last one,