如何将 junit/pmd/findbugs 报告集成到 hudson 构建电子邮件中?

发布于 2024-08-24 12:23:21 字数 207 浏览 3 评论 0原文

我的团队正在考虑使用 hudson 作为我们的持续集成软件,我们试图解决的第一个问题是将 junit/pmd/findbugs 等的报告集成到发送给团队的构建电子邮件中。

仪表板上的图表/报告很不错,但人们通常只想阅读电子邮件而不是单击链接。我尝试使用 ext-email 插件,但这并没有提供与此相关的太多帮助。有什么方法可以将这些信息放入构建电子邮件中吗?

谢谢!

my team is looking into using hudson as our continuous integration software, 1 problem that we try to figure out is to integrate the reports of junit/pmd/findbugs etc into the build email that get sent to the team.

the graph/reports on the dashboard are nice and all, but people usually want to just read the email and not clicking the links. i tried to use the ext-email plugin, but that doesn't provide much help related to this. is there any way i can get those info into the build email?

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

聊慰 2024-08-31 12:23:21

正如您所注意到的,email-ext 插件没有太多文档,您可能需要跳过一些麻烦,但这应该是可能的。

查看这篇博文作为一个有用的教程,其中演示了大大改进了电子邮件输出,如您所见:

Jenkins 示例电子邮件输出

As you note, the email-ext plugin doesn't have too much documentation, and you'll probably have to jump through some hoops, but it should be possible.

Check out this blog post as a useful tutorial, which demonstrates much improved email output, as you can see:

Jenkins example email output

记忆之渊 2024-08-31 12:23:21

我的回答对你帮助不大,但可以带来一些希望;)
对于代码指标,我们使用 Sonar,它集成了 CheckStyle、PMD、FireBugs 和其他一些插件(如 Cobertura 等) ,要查看其实际效果,请点击此处。它可以与 Hudson 集成,并且有插件可以发送电子邮件,但正如您所说,只是指向仪表板的链接。还有jira报告已打开,请随意投票,并描述您的需求(如果您决定使用声纳)。

附言。声纳还有很多附加插件,看看

My answer won't help you that much, but can bring some hope ;)
For code metrics we use Sonar, it integrates CheckStyle, PMD, FireBugs and some other plugins (like Cobertura etc.), to see it in action click here. It can be integrated with Hudson, and there is plugin to send emails but they are as you said, just links to dashboard. There is also jira report opened, feel free to vote, as well as describe what you need (if you decide to use Sonar).

PS. there are a lot of addition plugins for sonar, just have a look

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文