ccnet.config

这东西找资料麻烦,记录下。。。

<cruisecontrol xmlns:cb="urn:ccnet.config.builder">
	<!-- This is your CruiseControl.NET Server Configuration file. Add your projects below! -->

	<project>
		<name>Cardiac</name>
		
		<workingDirectory>F:/NightlyBuild/Source</workingDirectory>
		
		<webURL>http://localhost/ccnet</webURL>
		
		<triggers>
      <!--scheduleTrigger time="22:00" buildCondition="ForceBuild">
				<weekDays>
					<weekDay>Monday</weekDay>
					<weekDay>Tuesday</weekDay>
					<weekDay>Wednesday</weekDay>
					<weekDay>Thursday</weekDay>
					<weekDay>Sunday</weekDay>
				</weekDays>
			</scheduleTrigger>-->
			<intervalTrigger seconds="30" buildCondition="ForceBuild"/>
		</triggers>
		
		<labeller   type="dateLabeller" />
		<sourcecontrol type="svn"  autoGetSource="true">

		  <trunkUrl>http://...</trunkUrl>
		  <executable>C:/Program Files (x86)/Subversion/bin/svn.exe</executable>
		  <workingDirectory>F:/NightlyBuild/Source</workingDirectory>
		  <username>hx</username>
		  <password>hx</password>
	
		</sourcecontrol>
		
		<tasks>
		 
			<exec>
				<executable>F:/NightlyBuild/Source/xxx.bat</executable>
			</exec>
		 
			<msbuild>
				<executable>C:/WINDOWS/Microsoft.NET/Framework/v3.5/MSBuild.exe</executable>
				<workingDirectory>F:/NightlyBuild/Source/项目sln所在目录</workingDirectory>
				<projectFile>xxx.sln</projectFile>
				<logger>F:/NightlyBuild/CruiseControl.NET/server/ThoughtWorks.CruiseControl.MsBuild.dll</logger>
				<buildArgs>/t:rebuild /p:Configuration=Release /l:FileLogger,Microsoft.Build.Engine;logfile=F:/NightlyBuild/CruiseControl.NET/log/xxxLog.txt</buildArgs>
				<timeout>1900</timeout>
			</msbuild>
			
		</tasks>
		
		<publishers>
			<email from="000000@qq.com" mailhost="smtp.qq.com" mailport="25" includeDetails="TRUE" mailhostUsername="123123123" mailhostPassword="123123123">
	
				<users>
					<user name="laoban" group="boss" address="laoban@xxx.com"/>
					<user name="chengxuyuan" group="developers" address="chengxuyuan@xxx.com"/>
				
				</users>

				<groups>
					<group name="boss">
						<notifications>  
                            <notificationType>Always</notificationType>  
                        </notifications> 
					</group>
					
					<group name="developers">
						<notifications>  
                            <notificationType>Always</notificationType>  
                        </notifications> 
					</group>
				</groups>
				
				<attachments>  
          <file>F:/NightlyBuild/CruiseControl.NET/log/xxxLog.txt</file>
        </attachments> 
			</email>
		</publishers>
		
	</project>
</cruisecontrol>


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值