CruiseControlで楽しく遊べます。CruiseControl:変更が検出されましたが、ワーキングコピーのタイムスタンプは変更されていません
私はWindows XPマシンでCruiseControlのローカルインストールにJavaプロジェクトを組み込んだ。
私のconfig.xmlファイルは毎分実行され、自分のantスクリプトからプロジェクトをビルドします。
ダッシュボードの[Modifications]タブでトランクの変更を検出したにもかかわらず、作業コピーで影響を受けるファイルの日付とタイムスタンプを見ると、これらは変更されていません。
私のbuild.xmlが実行されるのはこのローカルコピーです。私のconfig.xmlはCruiseControlが変更を検出するように正しく設定されていますが、私のAntスクリプトは作業コピーに対して実行されていませんトランクと同期します。
私の設定ファイルは、そこに誰かが明白な何かを狙ってくれるのではないでしょうか?
コンフィグのxml:
<?xml version="1.0"?>
<cruisecontrol>
<dashboard url="http://localhost:8080/dashboard" postinterval="1" />
<project name="myProject" requireModification="false">
<listeners>
<currentbuildstatuslistener file="logs/myProject/status.txt"/>
</listeners>
<bootstrappers>
<svnbootstrapper file="build.xml"
username="cruise_control" password="password"
localWorkingCopy="projects\myProject" />
</bootstrappers>
<modificationset>
<svn repositoryLocation="https://path/to/myTrunk"
localWorkingCopy="projects/myProject"
username="cruise_control" password="password">
</svn>
</modificationset>
<schedule interval="60" >
<ant buildfile="build.xml" anthome="C:\Program Files\apache-ant-1.8.2" antWorkingDir="projects/myProject/" />
</schedule>
<log>
<merge dir="C:\Program Files\CruiseControl\projects\myProject\reports\junit" pattern="TEST*.xml" />
</log>
<publishers>
<artifactspublisher dir="C:\Program Files\CruiseControl\projects\myProject\dist"
dest="C:\Program Files\CruiseControl\artifacts\myProject"
moveInsteadOfCopy="true" />
</publishers>
</project>
</cruisecontrol>
ダッシュボードの設定ファイル:事前に
<dashboard>
<buildloop
logsdir="C:/Program Files/CruiseControl/logs/"
artifactsdir="C:/Program Files/CruiseControl/artifacts/" />
<features allowforcebuild="true" />
<trackingtool projectname="" baseurl="" keywords=""/>
<subtabs>
<subtab class="net.sourceforge.cruisecontrol.dashboard.widgets.ErrorsAndWarningsMessagesWidget" />
</subtabs>
</dashboard>
感謝。
あなたは正しいラグラムです。 SVNBootStrapperはSVNの更新を担当します。私はこのタスクを正しく構成していませんでした。 – Ben