• 自动build服务器 CruiseControl.NET


    <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.NETserverThoughtWorks.CruiseControl.MsBuild.dll</logger>
    </msbuild>
    <exec>
      <executable>E:SetupBuildToolsfilecopy.cmd</executable>
            <baseDirectory>E:VVRelease</baseDirectory>
    			  <buildArgs></buildArgs>
    			  <buildTimeoutSeconds>3600</buildTimeoutSeconds>
    			  <description>copy</description>
    		  </exec>
    
        </tasks>
    
        <publishers>
          <xmllogger />
          <artifactcleanup cleanUpMethod="KeepLastXBuilds"
                           cleanUpValue="50" />
     <buildpublisher>
             <sourceDir>E:VVReleaseOutPut</sourceDir>
             <publishDir>\192.168.1.2VBuild</publishDir>
             <useLabelSubDirectory>true</useLabelSubDirectory>
     </buildpublisher>
        </publishers>
    
    <labeller type="dateLabeller" />
      </project>
    
    </cruisecontrol>
    

      用到。net 3.5 非常好用

  • 相关阅读:
    过滤器判断请求参数中是否含有某一字段
    vscode开发vue项目实现pc端自适应_cssrem_rem_reset.scss,pc端媒体查询常用设置
    element_ui的datePicker修改样式
    TCP/IP 卷一 APR、RAPR、ICMP
    TCP/IP 卷一:协议(IP层)
    常见负载均衡策略
    TCP/IP 卷一:协议(链路层)
    TCP/IP 卷一:协议(概述)
    RokcetMQ
    Zookeeper集群
  • 原文地址:https://www.cnblogs.com/ahuo/p/3205222.html
Copyright © 2020-2023  润新知