2012-06-29 29 views
0

我剛剛在Apache + Mono下建立了一個Cruisecontrol.Net服務器,並將sourcecontrol指向我的GitHub項目。我做了一個承諾,並推動它,但CC未檢測到,即使它報告他們在輸出的變化:Cruisecontrol.Net git沒有看到修改

[MyProject:INFO] [Git] Calling git log origin/test --date-order --name-status -c "--after=Fri, 29 Jun 2012 12:19:25 GMT" "--before=Fri, 29 Jun 2012 13:12:24 GMT" --pretty=format:"Commit:%H%nTime:%ci%nAuthor:%an%nE-Mail:%ae%nMessage:%s%n%n%b%nChanges:" 
[MyProject:DEBUG] Starting process [git] in working directory [/home/ccnet/MyProject/build] with arguments [log origin/test --date-order --name-status -c "--after=Fri, 29 Jun 2012 12:19:25 GMT" "--before=Fri, 29 Jun 2012 13:12:24 GMT" --pretty=format:"Commit:%H%nTime:%ci%nAuthor:%an%nE-Mail:%ae%nMessage:%s%n%n%b%nChanges:"] 
[MyProject:DEBUG] Not setting PriorityClass on [/home/ccnet/MyProject/build/git] to default Normal 
[511:DEBUG] [MyProject git] process exited event received 
[509:DEBUG] [MyProject git] Commit:3d386b1277003c83c63e7e13bde2803bfe952d40 
[509:DEBUG] [MyProject git] Time:2012-06-29 14:00:34 +0100 
[510:DEBUG] [MyProject git] standard-error stream closed -- null received in event 
[509:DEBUG] [MyProject git] Author:Robin Elvin 
[509:DEBUG] [MyProject git] E-Mail:[email protected] 
[509:DEBUG] [MyProject git] Message:Merge branch 'master' into test 
[509:DEBUG] [MyProject git] 
[509:DEBUG] [MyProject git] 
[509:DEBUG] [MyProject git] Changes: 
[509:DEBUG] [MyProject git] 
[509:DEBUG] [MyProject git] Commit:fc134027f059a1dada0295bbd2d04cbea6eeb57b 
[509:DEBUG] [MyProject git] Time:2012-06-29 14:00:24 +0100 
[509:DEBUG] [MyProject git] Author:Robin Elvin 
[509:DEBUG] [MyProject git] E-Mail:[email protected] 
[509:DEBUG] [MyProject git] Message:Set complete status on sync and fix tests (issue #2 #3) 
[509:DEBUG] [MyProject git] 
[509:DEBUG] [MyProject git] 
[509:DEBUG] [MyProject git] Changes: 
[509:DEBUG] [MyProject git] M  File1 
[509:DEBUG] [MyProject git] M  File2 
[509:DEBUG] [MyProject git] M  File3 
[507:DEBUG] [MyProject git] standard-output stream closed -- null received in event 
[MyProject:INFO] No modifications detected. 

這裏是我的配置相關的功能塊:

<sourcecontrol type="git"> 
<repository>[email protected]:xxxx/MyProject.git</repository> 
<branch>test</branch> 
<workingDirectory>/home/ccnet/MyProject/build</workingDirectory> 
<autoGetSource>true</autoGetSource> 
</sourcecontrol> 
<triggers> 
<intervalTrigger name="continuous" seconds="30" buildCondition="IfModificationExists"/> 
</triggers> 

什麼引起這個?

回答

4

有在從檢測GIT中合併提交防止CCNET git的源控制提供者的錯誤。

只需升級到最新版本CCNET(1.8.x的)應該解決您的問題。

+0

我已將此作爲公認的答案,雖然我無法測試,因爲我已經搬了詹金斯現在。 –

0

嘛,我又犯和推動,這引發了構建。

不知道爲什麼之前沒有。將繼續檢查,以防萬一它是一個錯誤。

相關問題