zoukankan      html  css  js  c++  java
  • 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.NETserver).

    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.

  • 相关阅读:
    第6次实践作业
    第5次实践作业
    第4次实践作业
    第3次实践作业
    第二次实践作业
    2020系统综合实践 第1次实践作业
    软工实践个人总结
    第11组 Beta版本演示
    第11组 Beta冲刺(4/5)
    第11组 Beta冲刺(5/5)
  • 原文地址:https://www.cnblogs.com/cindy-hu-23/p/4466164.html
Copyright © 2011-2022 走看看