ccnet 配置真折腾
Google 搜索 : tf 日期和ccnet 日期
让google 无阻搜索
http://www.fenxiang100.net/forum.php?mod=viewthread&tid=107
http://www.fenxiang100.net/forum.php?mod=viewthread&tid=111&page=1&extra=#pid191
google 小插件 ssl,还有网页快照
具体如何配:
<cruisecontrol xmlns:cb="urn:ccnet.config.builder">
<project name="TestGet" webURL="http://localhost:8000/server/local/project/TestGet/ViewLatestBuildReport.aspx">
<workingDirectory >D:\TestAutoDeploy\Addition</workingDirectory>
<artifactDirectory>D:\TestAutoDeploy\Log</artifactDirectory>
<sourcecontrol type="vsts" autoGetSource="true">
<server>http://localhost:8080/tfs/defaultcollection</server>
<project>$/MoneyRecord/TestDataAnnotation</project>
<username>zbomb</username>
<password>******</password>
<workingDirectory>D:\TestAutoDeploy\Addition</workingDirectory>
<workspace>GetAddition</workspace>
<!--<tfOutputKeywords>
<keyword name="Encoding" value="GB2312"/>
<keyword name="Culture" value="zh-CN"/>
<keyword name="Changeset" value="变更集"/>
<keyword name="User" value="用户"/>
<keyword name="Date" value="日期"/>
<keyword name="Comment" value="注释"/>
<keyword name="Items" value="项"/>
<keyword name="edit" value="编辑"/>
<keyword name="add" value="添加"/>
<keyword name="delete" value="删除"/>
<keyword name="rename" value="重命名"/>
<keyword name="CheckInDescription" value="签入说明"/>
</tfOutputKeywords>-->
<!--<getSourceAccordingToComment>deploy</getSourceAccordingToComment>-->
<cleanCopy>false</cleanCopy>
<deleteWorkspace>false</deleteWorkspace>
<timeout>10000000</timeout>
</sourcecontrol>
<tasks>
<exec executable="D:\TestAutoDeploy\CopyAddition.bat" />
<msbuild>
<executable>C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe</executable>
<workingDirectory>D:\TestAutoDeploy\TestDataAnnotation</workingDirectory>
<projectFile>TestDataAnnotation.sln</projectFile>
<buildArgs>/p:Configuration=Release</buildArgs>
<targets>Clean;Rebuild</targets>
<timeout>10000000</timeout>
</msbuild>
</tasks>
</project>
<workingDirectory >D:\TestAutoDeploy\Addition</workingDirectory>
<artifactDirectory>D:\TestAutoDeploy\Log</artifactDirectory>
<sourcecontrol type="vsts" autoGetSource="true">
<server>http://localhost:8080/tfs/defaultcollection</server>
<project>$/MoneyRecord/TestDataAnnotation</project>
<username>zbomb</username>
<password>******</password>
<workingDirectory>D:\TestAutoDeploy\Addition</workingDirectory>
<workspace>GetAddition</workspace>
<!--<tfOutputKeywords>
<keyword name="Encoding" value="GB2312"/>
<keyword name="Culture" value="zh-CN"/>
<keyword name="Changeset" value="变更集"/>
<keyword name="User" value="用户"/>
<keyword name="Date" value="日期"/>
<keyword name="Comment" value="注释"/>
<keyword name="Items" value="项"/>
<keyword name="edit" value="编辑"/>
<keyword name="add" value="添加"/>
<keyword name="delete" value="删除"/>
<keyword name="rename" value="重命名"/>
<keyword name="CheckInDescription" value="签入说明"/>
</tfOutputKeywords>-->
<!--<getSourceAccordingToComment>deploy</getSourceAccordingToComment>-->
<cleanCopy>false</cleanCopy>
<deleteWorkspace>false</deleteWorkspace>
<timeout>10000000</timeout>
</sourcecontrol>
<tasks>
<exec executable="D:\TestAutoDeploy\CopyAddition.bat" />
<msbuild>
<executable>C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe</executable>
<workingDirectory>D:\TestAutoDeploy\TestDataAnnotation</workingDirectory>
<projectFile>TestDataAnnotation.sln</projectFile>
<buildArgs>/p:Configuration=Release</buildArgs>
<targets>Clean;Rebuild</targets>
<timeout>10000000</timeout>
</msbuild>
</tasks>
</project>
</cruisecontrol>
暂时还有两个问题未解决:
1 中文始终不能获取编译的通知。
2 有个 DateTime 老是报错的问题。
走向地狱的途中,不小心走了程序员这条路,路上一个个黑心的老板,和暗无天日的加班,我才发现,通往地狱的路径中,我们这行是最短的。