當我嘗試建立通過巡航控制我的項目,我得到的休耕錯誤:System.FormatException在CCNET
BUILD EXCEPTION
Error Message: System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseUInt64(String value, NumberStyles options, NumberFormatInfo numfmt)
at System.Convert.ToUInt64(String value)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Svn.GetModifications(IIntegrationResult from, IIntegrationResult to)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.QuietPeriod.GetModificationsWithLogging(ISourceControl sc, IIntegrationResult from, IIntegrationResult to)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.QuietPeriod.GetModifications(ISourceControl sourceControl, IIntegrationResult lastBuild, IIntegrationResult thisBuild)
at ThoughtWorks.CruiseControl.Core.IntegrationRunner.GetModifications(IIntegrationResult from, IIntegrationResult to)
at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Integrate(IntegrationRequest request)
Project: TRPMonitor 5.2.0 10G 11G
Date of build: 2012-06-07 13:53:26
Running time: 00:00:03
Integration Request: Build (ForceBuild) triggered from COREBUILDER
我的TortoiseSVN的版本改變從1.6到1.7和更新1.6 svn命令行到1.7。我怎樣才能讓我的項目再次建立?
謝謝!
P.S.我去了:http://jira.public.thoughtworks.org/browse/CCNET-634 和這裏:http://comments.gmane.org/gmane.comp.windows.dotnet.ccnet.user/6126 但它沒有解決我的問題。
- 編輯 -
在CCnet.log我發現這個(更新我的所有文件後運行svn 1.7):
2012-06-07 15:16:45,579 [72:INFO] Project: 'TRPMonitor 5.2.0 10G 11G' is added to queue: 'TRPMonitor 5.2.0 10G 11G' in position 0. Requestsource : COREBUILDER()
2012-06-07 15:16:45,594 [TRPMonitor 5.2.0 10G 11G:INFO] Queue: 'TRPMonitor 5.2.0 10G 11G' is attempting to be in-use, trying to lock related queues
2012-06-07 15:16:45,594 [TRPMonitor 5.2.0 10G 11G:INFO] Project: 'TRPMonitor 5.2.0 10G 11G' is first in queue: 'TRPMonitor 5.2.0 10G 11G' and shall start integration.
2012-06-07 15:16:45,594 [TRPMonitor 5.2.0 10G 11G:DEBUG] Checking if C:\REP\TRUNKS_5.2.0\TRPMonitor\trunks_5.01.1 is a svn working folder
2012-06-07 15:16:45,594 [TRPMonitor 5.2.0 10G 11G:DEBUG] Starting process [C:\Program Files\svn-win32-1.7.5\svn.exe] in working directory [C:\REP\TRUNKS_5.2.0\TRPMonitor\trunks_5.01.1] with arguments [info http://xx.xx.xxx.xx/svn/svn-payments-core/ --username XXXXXXXX --password ******** --no-auth-cache --non-interactive --xml]
594 [TRPMonitor 5.2.0 10G 11G:DEBUG] Not setting PriorityClass on [C:\Program Files\svn-win32-1.7.5\svn.exe] to default Normal
844 [4:DEBUG] [TRPMonitor 5.2.0 10G 11G C:\Program Files\svn-win32-1.7.5\svn.exe] <?xml version="1.0" encoding="UTF-8"?>
844 [4:DEBUG] [TRPMonitor 5.2.0 10G 11G C:\Program Files\svn-win32-1.7.5\svn.exe] <info>
844 [4:DEBUG] [TRPMonitor 5.2.0 10G 11G C:\Program Files\svn-win32-1.7.5\svn.exe] <entry
844 [4:DEBUG] [TRPMonitor 5.2.0 10G 11G C:\Program Files\svn-win32-1.7.5\svn.exe] path="svn-payments-core"
844 [4:DEBUG] [TRPMonitor 5.2.0 10G 11G C:\Program Files\svn-win32-1.7.5\svn.exe] revision="75905"
844 [4:DEBUG] [TRPMonitor 5.2.0 10G 11G C:\Program Files\svn-win32-1.7.5\svn.exe] kind="dir">
844 [4:DEBUG] [TRPMonitor 5.2.0 10G 11G C:\Program Files\svn-win32-1.7.5\svn.exe] <url>http://xx.xx.xxx.xx/svn/svn-payments-core</url>
844 [4:DEBUG] [TRPMonitor 5.2.0 10G 11G C:\Program Files\svn-win32-1.7.5\svn.exe] <repository>
844 [4:DEBUG] [TRPMonitor 5.2.0 10G 11G C:\Program Files\svn-win32-1.7.5\svn.exe] <root>http://xx.xx.xxx.xx/svn/svn-payments-core</root>
844 [4:DEBUG] [TRPMonitor 5.2.0 10G 11G C:\Program Files\svn-win32-1.7.5\svn.exe] <uuid>12d69269-45e3-204f-b74b-a9c2047a3d92</uuid>
2012-06-07 15:16:45,844 [4:DEBUG] [TRPMonitor 5.2.0 10G 11G C:\Program Files\svn-win32-1.7.5\svn.exe] </repository>
2012-06-07 15:16:45,844 [4:DEBUG] [TRPMonitor 5.2.0 10G 11G C:\Program Files\svn-win32-1.7.5\svn.exe] <commit
844 [4:DEBUG] [TRPMonitor 5.2.0 10G 11G C:\Program Files\svn-win32-1.7.5\svn.exe] revision="75905">
844 [4:DEBUG] [TRPMonitor 5.2.0 10G 11G C:\Program Files\svn-win32-1.7.5\svn.exe] <author>XXXXXX</author>
844 [4:DEBUG] [TRPMonitor 5.2.0 10G 11G C:\Program Files\svn-win32-1.7.5\svn.exe] <date>2012-06-07T19:15:34.949697Z</date>
844 [4:DEBUG] [TRPMonitor 5.2.0 10G 11G C:\Program Files\svn-win32-1.7.5\svn.exe] </commit>
844 [4:DEBUG] [TRPMonitor 5.2.0 10G 11G C:\Program Files\svn-win32-1.7.5\svn.exe] </entry>
844 [4:DEBUG] [TRPMonitor 5.2.0 10G 11G C:\Program Files\svn-win32-1.7.5\svn.exe] </info>
954 [4:DEBUG] [TRPMonitor 5.2.0 10G 11G C:\Program Files\svn-win32-1.7.5\svn.exe] standard-error stream closed -- null received in event
954 [4:DEBUG] [TRPMonitor 5.2.0 10G 11G C:\Program Files\svn-win32-1.7.5\svn.exe] standard-output stream closed -- null received in event
969 [72:DEBUG] [TRPMonitor 5.2.0 10G 11G C:\Program Files\svn-win32-1.7.5\svn.exe] process exited event received
985 [TRPMonitor 5.2.0 10G 11G:WARN] Source control failure (GetModifications): Input string was not in a correct format.
看來這個錯誤來自SVN命令行...
因此,在切換到1.7之前,構建工作正常嗎?您是否嘗試刪除構建服務器上的源代碼,以便重新獲取所有內容?如果這不起作用,您可能需要發佈構建文件的svn部分,以便我們瞭解它在做什麼。 – Pedro