我正在使用cruisecontrol.net進行集成構建以及外部源代碼控制。源代碼管理(GETMODS)腳本失敗,這很好,我知道爲什麼,但由於某種原因,構建在預計失敗時保持綠色。 CruiseControl在下面的輸出窗口中顯示異常,爲什麼構建失敗?爲什麼CruiseControl.net中的失敗源代碼控制不會使構建失敗?
ThoughtWorks.CruiseControl.Core.CruiseControlException: Source control operation failed:
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.ProcessSourceControl.Execute
(ProcessInfo processInfo)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.ProcessSourceControl.GetModifications(ProcessInfo info, DateTime from, DateTime to)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.ExternalSourceControl.GetMod ifications(IIntegrationResult from, IIntegrationResult to)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.QuietPeriod.GetModifications(ISourceControl sourceControl, IIntegrationResult lastBuild, IIntegrationResultthisBuild)
at ThoughtWorks.CruiseControl.Core.IntegrationRunner.GetModifications(IIntegrationResult from, IIntegrationResult to)
at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Integrate(IntegrationRequest request)
at ThoughtWorks.CruiseControl.Core.Project.Integrate(IntegrationRequest request)
at ThoughtWorks.CruiseControl.Core.ProjectIntegrator.Integrate()
at ThoughtWorks.CruiseControl.Core.ProjectIntegrator.Run()
謝謝,這不是關於忽略異常,雖然...我希望它失敗的構建或以其他方式明顯有人需要檢查日誌並修復造成它的任何東西。除了它只是服務器窗口中的文本,沒有人看...我嘗試了你的建議,但我認爲我使用的CCNet版本不支持1.4.0.3308中的該功能 – Dave 2011-04-08 01:59:45