将 TeamCity 报告集成到 Confluence

发布于 2024-08-06 13:44:54 字数 46 浏览 4 评论 0原文

有没有办法(插件)将构建报告从 teamcity 集成到 confluence

Is there a way (plugin) to integrate build-reports from teamcity to confluence

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

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

发布评论

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

评论(2

云醉月微眠 2024-08-13 13:44:55

尝试“Confluence TeamCity 集成插件”

它提供了 4 个宏:

  • 活动
  • 代理
  • 项目
  • 构建配置

还,它是免费的

Try the "Confluence TeamCity Integration Plugin"

It provides 4 macroses:

  • Activity
  • Agents
  • Project
  • Build Configuration

Also, it's free

念﹏祤嫣 2024-08-13 13:44:54

我不确定这就是您要找的内容,但 Etienne Studer 已在博客中介绍了 Confluence TeamCity Integration(它相当旧,但如果没有有关您正在使用的版本的任何信息,很难准确):

TeamCity 提供了一个小部件
显示给定构建的状态
任意网络中的配置
页。在 Kir 的帮助下
JetBrains,我能够集成
外部状态小部件进入
汇合。

首先,将以下部分添加到
的开始
TeamCity/webapps/ROOT/status/externalStatus.jsp


I'm not sure that this is what you're looking for but Etienne Studer has bloged about Confluence TeamCity Integration (it's pretty old but it's hard to be accurate without any informations on the versions you're using):

TeamCity provides a widget that
displays the status of a given build
configuration in an arbitrary web
page. With a little help by Kir from
JetBrains, I was able to integrate the
External Status Widget into
Confluence.

First, add the following section at
the beginning of
TeamCity/webapps/ROOT/status/externalStatus.jsp:

<style type="text/css">
  @import
  "${pageContext.request.requestURL}/../../css/status/externalStatus.css";
</style>

Then, integrate the External Status
Widget for the build configurations of
interest into Confluence:

h1. TeamCity
|{html-include:url=http://tc.xy.com/externalStatus.html?buildTypeId=bt77}|
|{html-include:url=http://tc.xy.com/externalStatus.html?buildTypeId=bt88}|
|{html-include:url=http://tc.xy.com/externalStatus.html?buildTypeId=bt99}|

That's it. Another fine feature of
TeamCity.

In Benares, i.e. TeamCity 3, a link
will be available that also includes
the CSS information as part of the
returned HTML fragment and hence there
will be no more need to import the CSS
style information separately.

alt text
(source: jroller.com)

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