CruiseControl.NET–StarTeam配置

StarTeam是一个流行的源代码管理工具。如何在CruiseControl.NET配置,可以查看它的帮助文档。

配置StarTeam,你只要指定可执行文件,服务器上的项目路径,用户名和密码,还要指定服务器的地址,端口和路径。默认的路径是127.0.0.1,端口是49201,服务器上的项目路径为空。

<sourcecontrol type="starteam">
   <executable>c:\starteam\stcmd.exe</executable>
   <project>ccnet</project>
   <username>buildguy</username>
   <password>buildguypw</password>
   <host>thebuildmachine</host>
   <port>49201</port>
   <path>release2.0</path>
   <autoGetSource>true</autoGetSource>
   <folderRegEx>customRegEx</folderRegEx>
   <fileRegEx>customRegEx</fileRegEx>
   <fileHistoryRegEx>customRegEx</fileHistoryRegEx>
</sourcecontrol>

正则表达式的配置:

CruiseControl.NET利用StarTeam的命令行方式将更新文件上传到源代码管理服务器,folderRegEx,fileRegEx,fileHistoryRegEx 就是用来实现这个目的。

如果只是简单的应用,不需要用到这些特性。

实际上的例子:

<sourcecontrol type="starteam">
     <executable>C:\Program Files (x86)\Borland\StarTeam Cross-Platform Client 2008 R2\stcmd.exe</executable>
     <project>SW-data/Projects</project>
     <username>admin</username>
     <password>123</password>
     <host>uswdhsa0star.com</host>
     <port>49209</port> 
     <autoGetSource>true</autoGetSource>    
     <timeout units="minutes">10</timeout>
   </sourcecontrol>

转载于:https://www.cnblogs.com/zhaojin/archive/2012/03/07/2383625.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值