当前位置 : 主页 > 网络编程 > net编程 >

自动build服务器 CruiseControl.NET

来源:互联网 收集:自由互联 发布时间:2023-10-08
cruisecontrol xmlns:cb="urn:ccnet.config.builder" !-- This is your CruiseControl.NET Server Configuration file. Add your projects below! -- project name="V" description="V config" triggers !-- check the source control every X time for chang
<cruisecontrol xmlns:cb="urn:ccnet.config.builder">
<!-- This is your CruiseControl.NET Server Configuration file. Add your projects below! -->


<project name="V"
description="V config">

<triggers>
<!-- check the source control every X time for changes,
and run the tasks if changes are found -->
<intervalTrigger
name="continuous"
seconds="30"
buildCondition="IfModificationExists"
initialSeconds="5"/>
</triggers>

<sourcecontrol type="svn" >
<trunkUrl>https://192.168.1.2/svn/V/trunk</trunkUrl>
<workingDirectory>e:/V</workingDirectory>
<executable>C:/CollabNet/svn.exe</executable>
<username>builder</username>
<password>!</password>
</sourcecontrol>

<tasks>

<msbuild>
<executable>C:/Windows/Microsoft.NET/Framework/v4.0.30319/msbuild.exe</executable>
<workingDirectory>e:/V/V</workingDirectory>
<projectFile>V.sln</projectFile>
<buildArgs>/p:Configuration=Release</buildArgs>
<targets></targets>
<timeout>3600</timeout>
<logger>C:\Program Files (x86)\CruiseControl.NET\server\ThoughtWorks.CruiseControl.MsBuild.dll</logger>
</msbuild>
<exec>
<executable>E:\Setup\BuildTools\filecopy.cmd</executable>
<baseDirectory>E:\V\V\Release</baseDirectory>
<buildArgs></buildArgs>
<buildTimeoutSeconds>3600</buildTimeoutSeconds>
<description>copy</description>
</exec>

</tasks>

<publishers>
<xmllogger />
<artifactcleanup cleanUpMethod="KeepLastXBuilds"
cleanUpValue="50" />
<buildpublisher>
<sourceDir>E:\V\V\Release\OutPut\</sourceDir>
<publishDir>\\192.168.1.2\VBuild\</publishDir>
<useLabelSubDirectory>true</useLabelSubDirectory>
</buildpublisher>
</publishers>

<labeller type="dateLabeller" />
</project>

</cruisecontrol>

  用到。net 3.5 非常好用




【文章原创作者:香港服务器 http://www.558idc.com/hk.html提供,感谢支持】
上一篇:asp.net自定义错误提示页
下一篇:没有了
网友评论