Hudson构建因FATAL而失败:null java.lang.AbstractMethodError

gra*_*ant 7 hudson

我在Ubuntu上安装了Hudson,我正在使用git插件.我作为构建步骤执行的git集成和简单shell脚本似乎工作正常,但是我收到以下错误并且构建失败:

FATAL: null
java.lang.AbstractMethodError
at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:278)
at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:275)
at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:565)
at hudson.model.Run.run(Run.java:1386)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:145)
Run Code Online (Sandbox Code Playgroud)

我没有后期构建操作.

hof*_*mar 5

我得到了相同的异常,在我的情况下,使用hudson 2.0.0和hudson git插件2.0.1时出现了不兼容的原因.升级您的hudson服务器或卸载git插件并从http://hudson-ci.org/downloads/plugins/git/2.0.0/手动安装旧的git插件版本.