FinalBuilder 7. 是否可以知道谁破坏了构建?

发布于 2024-09-28 23:16:21 字数 115 浏览 4 评论 0原文

我对构建器非常陌生,并且在 FinalBuilder 中绝对是新手。 这是一个很棒的应用程序,非常直观,文档齐全,具有很多功能。 但我找不到一件事: 如何确定谁对损坏的构建负责?

I am pretty new in builders and absolutely newbie in FinalBuilder.
It is a great app, very intuitive, well documented with lots of features.
But I can't find one thing:
How can I determine who is responsible for the broken build?

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

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

发布评论

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

评论(2

你げ笑在眉眼 2024-10-05 23:16:22

这是一个众所周知的难以解决的问题,如果 FB 服务器能够正确解决,我会感到惊讶。这并不是说没有任何函数可以从中获取一些信息,但请考虑一下:

如果在短时间内完成了两次提交,并且服务器当前已被占用,则在它获取更改并运行时,它将运行到最后一个。您如何知道两个变更集中哪一个真正负责?

另外,如果我删除一个方法,然后你调用它,那么这两个方法中哪一个是错误的?我是因为我删除了错误的方法,还是你是因为你调用了我们不应该使用的方法?

TeamCity 对此有一些规定,但它经常出错,特别是考虑以下事件序列:

  1. 人员 A 签入某些内容,这会破坏构建。 A 收到一封有关此事的电子邮件。
  2. B 签入某些内容,构建仍然无法正确运行,B 没有收到任何电子邮件
  3. ,C 签入某些内容,这本身也会破坏构建。然而,构建仍然没有运行,但这只是部分原因,因为 A 仍然没有解决他引入的问题。
  4. A 人检查了他的问题的修复,由于 C 人的更改,构建仍然没有运行,而 C 人的更改仍然没有得到修复。

知道“谁破坏了构建”变得很复杂,最多你可以找出谁“开始了一系列破坏构建”。我知道 TeamCity 可以提供此功能,但我不知道 FB 服务器是否可以。

This is a notoriously hard problem to tackle, and I'd be surprised if FB server got it right. That's not to say that there isn't any function to get some information out of it, but consider this:

If two commits are done within a short timespan, and the server is currently occupied, by the time it picks up the changes and runs, it will run for the last one. How do you know which of the two changesets are really responsible?

Also, if I remove a method, and you call it, which of the two are in error? Me because I removed the wrong method, or you because you call a method we're not supposed to be using?

TeamCity has some provisions for this, but it frequently gets things wrong, in particular, consider the following sequence of events:

  1. Person A checks in something, which breaks the build. Person A gets an email about this.
  2. Person B checks in something, build still not running correctly, person B does not get any email
  3. Person C checks in something, that by itself would also break the build. Build is, however, still not running, but now only partly because person A still hasn't fixed the problem he introduced.
  4. Person A checks in a fix to his problem, build still not running because of person C's change, which still haven't been fixed.

It gets complicated knowing "who broke the build", at most you can figure out who "started a sequence of breaking the build". I know TeamCity gives you that, I don't know if FB server does.

演多会厌 2024-10-05 23:16:22

这取决于您如何定义“谁对损坏的构建负责”如果您将其定义为最后一次提交的作者,那么您应该从源代码控制系统中检索信息。如果发生颠覆,您可以使用 svn info 任务来获取作者。

It depends how you define "who is responsible for the broken build" If you define it as author of the last commit then you should retrieve the information from source control system. In case of subversion you can use svn info task to get the author.

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