• 自动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 非常好用

  • 相关阅读:
    第七课——iOS数据持久化
    第三章-动态规划
    IOS第五课——Gesture and TableView
    第六课——UIDynamicAnimator
    文本居中换行、边框设置
    属性优先级、图片属性设置、内联标签设置大小
    打开、悬浮、访问、点击、状态用:
    属性选择器用【】
    组合使用用逗号,
    3种选择器的使用方式
  • 原文地址:https://www.cnblogs.com/ahuo/p/3205222.html
Copyright © 2020-2023  润新知