FinalBuilder 7. 是否可以知道谁破坏了构建?
我对构建器非常陌生,并且在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这是一个众所周知的难以解决的问题,如果 FB 服务器能够正确解决,我会感到惊讶。这并不是说没有任何函数可以从中获取一些信息,但请考虑一下:
如果在短时间内完成了两次提交,并且服务器当前已被占用,则在它获取更改并运行时,它将运行到最后一个。您如何知道两个变更集中哪一个真正负责?
另外,如果我删除一个方法,然后你调用它,那么这两个方法中哪一个是错误的?我是因为我删除了错误的方法,还是你是因为你调用了我们不应该使用的方法?
TeamCity 对此有一些规定,但它经常出错,特别是考虑以下事件序列:
知道“谁破坏了构建”变得很复杂,最多你可以找出谁“开始了一系列破坏构建”。我知道 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:
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.
这取决于您如何定义“谁对损坏的构建负责”如果您将其定义为最后一次提交的作者,那么您应该从源代码控制系统中检索信息。如果发生颠覆,您可以使用 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.