我有一個問題發佈我當前的項目狀態。Cruisecontrol發佈命令onfailure
映射:
<publishers>
<xmllogger /><!-- Log For WebDashboard ##Do not remove##-->
<email>
...
</email>
<onfailure>
<exec>
<executable>echo ERROR > logs/status.txt</executable>
</exec>
</onfailure>
</publishers>
當我想開始我的服務,我得到以下信息:
ThoughtWorks.CruiseControl.Core.Config.ConfigurationException: 無法從配置文件實例CruiseControl的項目。 配置文檔很可能缺少正確填充CruiseControl配置所需的Xml節點。 無法加載數組項'onfailure' - 無法從類型System.String轉換爲ThoughtWorks.CruiseControl.Core.ITask對象的值爲:「echo ERROR> logs/status.txt」
有誰知道那條消息是什麼手段?
感謝預期
亞歷
感謝您的回覆,我已經試過您的解決方案,現在我得到的錯誤消息: ThoughtWorks.CruiseControl.Core.Config.ConfigurationException:檢測未使用的節點:失敗 呼應ERROR >日誌/ status.txt中 conditionalPublisher> 我使用的版本1.5.7256.1 –
2010-12-20 09:34:59
當然,它的作品,我很抱歉,我沒有知道這是出版商的一個子節點,v感謝您的供應。 (: – 2010-12-20 09:46:28