最近在研究 Daily Build 不知道如何用CC.Net 得到 VSS改动的情况
在 ..\ccnet\server里配置了 ccnet.config 如下:
<sourcecontrol type="vss">
<ssdir>F:\program files\vss\</ssdir>
<executable>\\dsi_coolbug\vss\win32\SS.EXE</executable>
<project>$/newp/test2</project>
<username>coolbug</username>
<password>******</password>
<workingDirectory>d:\newtest</workingDirectory> //到底指哪个目录?
</sourcecontrol>
<build type="nant">
<executable>D:\software\nant\nant85\bin\nant.exe</executable>
<baseDirectory>c:\test</baseDirectory>
<buildArgs>-D:cvs.executable=c:\putty\cvswithplinkrsh.bat</buildArgs> //此是何意
<buildFile>default.build</buildFile> //我指的是<baseDirectory>c:\test</baseDirectory>里的目录,default.build文件是得到远程的 VSS 服务器里的文件,并且solution 得到的文件
<targetList>
<target>run</target>
</targetList>
<buildTimeoutSeconds>300</buildTimeoutSeconds>
</build>
<tasks>
<merge>
<file>c:\fromcvs\myrepo\myproject\build\tests\*-results.xml</file>//此是何意?
</merge>
</tasks>
望同仁指明,多谢. 给一个实际的代码也行 ,让我参考参考.
<sourcecontrol type="vss">
<ssdir>F:\program files\vss\</ssdir>
<executable>\\dsi_coolbug\vss\win32\SS.EXE</executable>
<project>$/newp/test2</project>
<username>coolbug</username>
<password>******</password>
<workingDirectory>d:\newtest</workingDirectory> //到底指哪个目录?
</sourcecontrol>
<build type="nant">
<executable>D:\software\nant\nant85\bin\nant.exe</executable>
<baseDirectory>c:\test</baseDirectory>
<buildArgs>-D:cvs.executable=c:\putty\cvswithplinkrsh.bat</buildArgs> //此是何意
<buildFile>default.build</buildFile> //我指的是<baseDirectory>c:\test</baseDirectory>里的目录,default.build文件是得到远程的 VSS 服务器里的文件,并且solution 得到的文件
<targetList>
<target>run</target>
</targetList>
<buildTimeoutSeconds>300</buildTimeoutSeconds>
</build>
<tasks>
<merge>
<file>c:\fromcvs\myrepo\myproject\build\tests\*-results.xml</file>//此是何意?
</merge>
</tasks>
望同仁指明,多谢. 给一个实际的代码也行 ,让我参考参考.
阿里云优惠券领取地址:https://partner.aliyun.com/shop/35783975 ,需要更多优惠请联系QQ和微信:891115,热线:400-968-4968