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 を使用してビルドしています。私のグーグルは、私が過去に使用した古いバージョンのジェンキンスの問題のみを返しました。1.506 です。

他にもたくさんのプロジェクトが問題なくビルドされており、そのうちのいくつかは Scala でもあります。

4

1 に答える 1

2

Java プロジェクトのビルド中にこのエラーが発生しました。なぜこれが突然発生するのかはわかりませんが、次のことを行うことで回避できました。

ビルド構成の [ソース コード管理] セクションの [詳細... ] 構成設定に移動し、[内部タグをスキップ] をオンにします。

(コメントからアップグレード)

于 2013-05-04T19:26:40.107 に答える