CruiseControl.NET : svnrevisionlabeller

How to use svnrevisionlabeller as your labeller type in CC.NET:

1. Download ccnet.SvnRevisionLabeller.plugin.dll from here, and drop it into CC.NET server folder (i.e. C:\Program Files (x86)\CruiseControl.NET\server).

if you can‘t access the website, download it from here.

2. Update CC.NET configuration.

Define labeller in your project, for example:

<labeller type="svnRevisionLabeller">

        <major>1</major>

        <minor>1</minor>

        <url>svn://localhost/repository/trunk</url>

</labeller>

When CruiseControl.NET begins a project build, it generates a label for the build and stores it in the property CCNetLabel.

If the configuration for the labeller is set as above, then CCNetLabel pattern will be like {major}.{minor}.{build}.{revsion}

{revision} is the latest Subversion revision number, {build} will start from 0 and incremented by 1 with each successful build having changes to the repository.

Please be noted that forcing a build without any changes to the repository will not make any changes to the label.

3. Win+R, type “services.msc”, restart CruiseControl.NET Server.

时间: 2024-08-01 22:17:19

CruiseControl.NET : svnrevisionlabeller的相关文章

搭建你的持续集成环境——CruiseControl介绍

虽然起了个煞有介事的标题,但是其实只是把在工作中碰到的跟CruiseControl这个工具打交道的经历记录下来,因为听说有个技术博客找工作会加分很多(笑),嗯,让我们开始吧! 相信百度到CruiseControl的同学也已经知道持续集成(CI)是个什么玩意了,这篇文章的作者很懒,就不多废话了,贴上两个百度百科的链接. 关于持续集成 关于CruiseControl 先放上一张使用中的CruiseControl的架构图,然后就有点困了,嗯,那就再见~

version control system:git/hg/subversion/cvs/clearcase/vss。software configruation management。代码集成CI:Cruisecontrol/hudson/buildbot

version control system: git/hg/subversion/cvs/clearcase/vss software configruation management: daily build/smoke test/auto test 代码集成CI: Cruisecontrol/hudson/buildbot

cruisecontrol配置样例

<?xml version="1.0"?> <cruisecontrol> <project name="SampleCCProject"> <bootstrappers> <currentbuildstatusbootstrapper file="../logs/currentbuild.txt" /> <svnbootstrapper file="build-cc.x

CruiseControl.NET配置文件(生产环境版本,与SVN结合自动部署)

配置如下: 说明:此配置文件的功能是当有SVN修改时,会自动触发并编译发布,间隔为10秒. <cruisecontrol xmlns:cb="urn:ccnet.config.builder"> <!--项目说明,节点可多个--> <project name="[项目名]" description="[项目详情]" queue="Q1"> <!--编译日志存放--> <ar

CruiseControl.NET开篇

在这里说明一下,我终于踏上了CruiseControl.NET这条不归路了,为什么我会觉得是一条不归路,原因很简单,就是这东西在现在这个阶段已经很久没有在园子里有活跃度了,基本上到了已经可以到了让大家遗忘的程度,而且这东西本身配置上是个头痛的问题,没有可视化配置界面!(这个是个重点),如果论现在的自动化构建工具,jenkins这个现在确实很火,不管.net/java/iOS/android这些都能自动化构建出来,非常的强大,有空的时候,建议大家还是转这个吧. 至于我为什么要选择这个工具了,我想大

持续集成:CruiseControl.NET + VisualSVN.Server

刚换了工作,有需要搭建一套持续集成的平台,做一下总结. 首先是我用到的工具: 上面缺少了Microsoft Fxcop,可以用来做代码校验,不过实际情况暂时还没有用到.主要的需求目前是,使用已发布的稳定版本代码作为新发布版本代码的基础,避免有未完成的代码存在于发布版本中,同时自动化集成发布后,上传该新发布版本代码到tags中.elevate一般情况下是不需要的,不过VisualSVN无法使用命令行登陆,可以使用它来提升执行权限,不过最终我使用了另外一个办法,这个方法需要购买VisualSVN S

CruiseControl.NET配置

CruiseControl.NET简介 CruiseControl.NET是.net平台下,一个开源的自动化持续集成工具. 它是一个程序套件,但其核心是一个叫做CruiseControl.NET Server的自动集成服务器.        通过直接监视源代码管理仓库,CruiseControl.NET使集成过程得以自动化.开发员每提交一组新的更新,CruiseControl.NET Server就会自动运行集成构造,以验证新的更新.当构造完成以后,Server将会通知开发员,提交的更改是否成功

搭建你的持续集成server - CruiseControl step by step(1)

CruiseControl是CIserver的老者,诞生已是多年,在很多方面,CruiseControlserver已经成为持续集成实践的同义词.而如今,CruiseControl已发展成为一个家族式系统,包含CruiseControl.java.CruiseControl.net.CruiseControl.ruby等适应不同语言环境的实现,其强大的插件和扩展能力也是诸多同类系统无法比你的.而在这里,我仅仅介绍该家族的本家CruiseControl.java,即CruiseControl.Cr

使用CruiseControl.Net全面实现持续集成

持续集成想必大家很多人都听说过,甚至都实践过,最近我又一次亲历了一次持续集成,现将我的经验分享给大家.关于持续集成的理论在本文概不涉及,本文的主要目的是实战CruiseControl.Net,用它来全面实现持续集成. 在配置ccnet.config时会用到一些小工具,一并附上:小工具下载 首先,我们来看看用CC.Net能为我们做哪些事情: 自动获取源代码 自动Build 自动执行UnitTest,并生成单元测试报告 自动部署 触发自动化(回归)测试 邮件提醒 使用CCTray进行监控 应用plu