使用 Hudson 进行 Maven 发布。发布成功,但 Hudson 保持红色
我们正在 Hudson 上使用 Maven 发布插件来自动化发布过程。当我们进行发布时,控制台日志确实表明发布成功并且工件已部署到存储库。但哈德逊仍然保持红色。当我查看 hudson 时,版本是绿色的,项目的所有其他模块都保持红色。
我们的项目结构是。
parent
| -------- module 1
| -------- module 2
模块 1 和模块 2 工件已部署。所有测试都通过了。但当我看哈德森时,它仍然是红色的。
当我查看 hudson 模块控制台日志时,我发现这可能
Started
FATAL: null
java.lang.NullPointerException
at org.jvnet.hudson.plugins.DownstreamBuildViewUpdateListener.onStarted(DownstreamBuildViewUpdateListener.java:76)
at org.jvnet.hudson.plugins.DownstreamBuildViewUpdateListener.onStarted(DownstreamBuildViewUpdateListener.java:48)
at hudson.model.listeners.RunListener.fireStarted(RunListener.java:139)
at hudson.model.Run.run(Run.java:1243)
at hudson.maven.MavenBuild.access$600(MavenBuild.java:71)
at hudson.maven.MavenBuild$ProxyImpl2.close(MavenBuild.java:453)
at hudson.maven.MavenModuleSetBuild$Builder.end(MavenModuleSetBuild.java:701)
at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:497)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416)
at hudson.model.Run.run(Run.java:1248)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:318)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:129)
是什么原因。任何帮助将不胜感激。我希望哈德森变绿。
We are using the maven release plug-in on Hudson to automate the release process. When we do a release, the console log does say that the release was successful and the artifacts get deployed to the repository. But the hudson still stays red. when I look at hudson, the release is green and all other modules of the project stays red.
The project structure we have is.
parent
| -------- module 1
| -------- module 2
Module 1 and Module 2 artifacts get deployed. all the tests passes. But when I look at hudson, it stays red.
When I look at the hudson module console log, this is what I find,
Started
FATAL: null
java.lang.NullPointerException
at org.jvnet.hudson.plugins.DownstreamBuildViewUpdateListener.onStarted(DownstreamBuildViewUpdateListener.java:76)
at org.jvnet.hudson.plugins.DownstreamBuildViewUpdateListener.onStarted(DownstreamBuildViewUpdateListener.java:48)
at hudson.model.listeners.RunListener.fireStarted(RunListener.java:139)
at hudson.model.Run.run(Run.java:1243)
at hudson.maven.MavenBuild.access$600(MavenBuild.java:71)
at hudson.maven.MavenBuild$ProxyImpl2.close(MavenBuild.java:453)
at hudson.maven.MavenModuleSetBuild$Builder.end(MavenModuleSetBuild.java:701)
at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:497)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416)
at hudson.model.Run.run(Run.java:1248)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:318)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:129)
What could be the reason. Any help would be appreciated. I want hudson to turn green.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否升级了下游构建视图插件?我遇到了这个问题并报告了它,并在最新版本中得到了修复。请参阅http://issues.hudson-ci.org/browse/HUDSON-7691
Have you upgraded the downstream build view plugin? I was having this problem and reported it, and it got fix in the latest version. See http://issues.hudson-ci.org/browse/HUDSON-7691