CruiseControl.net ccnet.config 파일에서 NANT 이름 .build 파일로 매개 변수 (예 : URL)를 전달하는 데 도움이 될 수 있습니까? 아래인수 구문 분석 CruiseControl.net에서 NANT
내가 시도 (하지만 성공하지) 당신이 CCNet 웹 사이트의 시나리오의 예에서
**CC.net file**
<tasks>
<nant>
<executable>C:\Program Files (x86)\NANT\nant-0.92\bin\nant</executable>
<buildFile>C:\Program Files (x86)\NANT\nant-0.92\RiDM.Build</buildFile>
<targetList>
<target>build</target>
</targetList>
<buildArgs>-D:myProp=C:\build</buildArgs>
</nant>
</tasks>
**.build file**
<?xml version="1.0"?>
<project name="Parameter test File" >
<description>Test parameter passing among Cruise control and NANt files.enter code here </description>
<echo message="This is echo" />
<if test="${property::exists('myProp')}" />
<echo message="URL: ${myProp}" />
<echo message="This is also echo" />
</project>
감사에 대한 귀하의 경우,을 ccnet.config의
targetList
요소에 언급 대상 (들)을 실행합니다 회신하지만 여전히 어둠 속에서 ... – Leo