首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Jenkins标记名称无效

Jenkins标记名称无效
EN

Stack Overflow用户
提问于 2013-03-28 01:59:58
回答 1查看 322关注 0票数 1

有没有人看过Jenkins的以下异常?

代码语言:javascript
运行
复制
FATAL: org.eclipse.jgit.api.errors.InvalidTagNameException: tag name jenkins-Push Notifications API (Master)-3 is invalid
hudson.plugins.git.GitException: org.eclipse.jgit.api.errors.InvalidTagNameException: tag name jenkins-Push Notifications API (Master)-3 is invalid
    at org.jenkinsci.plugins.gitclient.JGitAPIImpl.tag(JGitAPIImpl.java:179)
    at hudson.plugins.git.GitAPI.tag(GitAPI.java:220)
    at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1239)
    at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1196)
    at hudson.FilePath.act(FilePath.java:865)
    at hudson.FilePath.act(FilePath.java:838)
    at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1196)
    at hudson.model.AbstractProject.checkout(AbstractProject.java:1353)
    at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:689)
    at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
    at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:594)
    at hudson.model.Run.execute(Run.java:1567)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    at hudson.model.ResourceController.execute(ResourceController.java:88)
    at hudson.model.Executor.run(Executor.java:237)
Caused by: org.eclipse.jgit.api.errors.InvalidTagNameException: tag name jenkins-Push Notifications API (Master)-3 is invalid
    at org.eclipse.jgit.api.TagCommand.processOptions(TagCommand.java:198)
    at org.eclipse.jgit.api.TagCommand.call(TagCommand.java:112)
    at org.jenkinsci.plugins.gitclient.JGitAPIImpl.tag(JGitAPIImpl.java:175)
    ... 14 more

这是一个Scala项目,我们使用SBT 12.1来构建它。我的谷歌搜索只返回了旧版本的Jenkins的问题,我已经过去了。我们有1.506个。

我们还有一大堆其他的项目正在建设中,其中一些也是Scala。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2013-05-05 03:26:40

我在构建Java项目时遇到了这个错误。我不确定为什么这会突然出现,但我能够通过执行以下操作来解决它:

转到构建配置的源代码管理部分的高级...配置设置,并选中“跳过内部标记”。

(从评论升级)

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/15666056

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档