Scala Jenkins标记名无效
有人见过詹金斯的以下例外情况吗Scala Jenkins标记名无效,scala,jenkins,Scala,Jenkins,有人见过詹金斯的以下例外情况吗 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 Noti
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项目,我们正在使用SBT12.1构建它。我在谷歌上搜索到的只是詹金斯旧版本的问题,我已经过时了。我们有1.506
我们有很多其他项目正在构建中,其中一些项目也是Scala。我在构建Java项目时遇到了这个错误。我不确定为什么会突然出现这种情况,但我通过以下方法解决了这个问题: 转到构建配置的源代码管理部分的高级…配置设置,并选中“跳过内部标记”
(从comment升级)我在构建Java项目时遇到了这个错误。我不知道为什么会突然出现这种情况,但我通过进入高级课程来解决它。。。构建配置的源代码管理部分的配置设置,并选中“跳过内部标记”。希望这对你也有帮助。@Nathat获得了巨大的成功!如果你把它作为回答而不是评论,我会接受的!