zoukankan      html  css  js  c++  java
  • 自动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 非常好用

  • 相关阅读:
    Spark学习笔记1
    Scala学习笔记
    Scala实现网站流量实时分析
    使用Docker搭建Spark集群(用于实现网站流量实时分析模块)
    使用Docker搭建Hadoop集群(伪分布式与完全分布式)
    Docker配置阿里云镜像源
    从centos7镜像到搭建kubernetes集群(kubeadm方式安装)
    来做一个简单的成绩查询!(输入输出)
    String类的知识点(不断更新)
    人机猜拳游戏Java
  • 原文地址:https://www.cnblogs.com/ahuo/p/3205222.html
Copyright © 2011-2022 走看看