1
젠킨스에서 다음 예외를 본 사람이 있습니까?젠킨스 태그 이름이 잘못되었습니다.
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을 가지고있다.
우리는 다른 프로젝트도 훌륭하게 만들었으며 그 중 일부는 스칼라입니다.
Java 프로젝트를 구축하는 중 오류가 발생했습니다. 왜 이것이 갑자기 잘릴 지 모르겠지만 빌드 설정의 소스 코드 관리 섹션에 대한 Advanced ... config 설정으로 가서 "Skip Internal Tag"를 확인하여 해결할 수있었습니다. 잘하면 그게 당신을 도울 수 있기를 바랍니다. –
@ NathanSmith 대성공! 의견 대신 답변으로 제출하면 받아 들일 것입니다. – ShatyUT