zoukankan      html  css  js  c++  java
  • HELP // Configuring Email Notifications in VisualSVN Server

    VisualSVN Server includes simple Subversion hook for email notifications.

    To enable it email notifications on every commit please do the following:

    1. Start VisualSVN Server Manager
    2. Open Properties for your repository
    3. Select Hooks tab
    4. Edit the Post-commit hook
    5. Enter the following command into the hook editor replacing parameters with valid values.
      "%VISUALSVN_SERVER%\bin\VisualSVNServerHooks.exe" ^
          commit-notification "%1" -r %2 ^
          --from <from-email> --to <to-email> ^
          --smtp-server <smtp-server>  
      

    There are following options for the commit-notification command:

    Option Meaning
    -r [--revision] ARG Specifies revision number.
    --from ARG Specifies FROM e-mail address for commit notifications.
    --to ARG Specifies TO e-mail address for commit notifications.
    --smtp-server ARG Specifies the SMTP server.
    --smtp-port ARG Specifies the SMTP server port. By default port 25 will be used.
    --smtp-user ARG Specifies the user name that will be used to connect SMTP server.
    --smtp-password <password> Specifies the password that will be used to connect SMTP server.
    --smtp-ssl Enables usage of SSL when connecting SMTP server. By default the SSL protocol is disabled.
    --no-diffs Do not include the difference of changes in the email.
    --encoding <encoding> Specifies encoding that is used to store text files (commit notifications e-mails will be sent in UTF-8). For example --encoding ISO-8859-1. Current locale settings will be used by default.

    Warning
    Warning Email notification ignores access rights set for accounts. It sends all commits to the specified address. You can add your own logic to the hook script if you need to limit commits that should be sent.
     

    ---------------------------------------------------------------------------------------------------------------------------------
    copyright:http://www.cnblogs.com/anee/
  • 相关阅读:
    Gyp语法规则参考 & 工具的使用
    从源码编译Chrome(chromium)
    Oracle 高版本导出到低版本的测试验证
    CentOS7 安装Oracle11g的过程.
    Rhino 使 JavaScript 应用程序更灵动(转载)
    javascript与java的相互调用,纯java的javascript引擎rhino(转载)
    Template Method Design Pattern in Java
    Chain Of Responsibility Design Pattern Example
    设计模式之状态模式
    设计模式之装饰者模式
  • 原文地址:https://www.cnblogs.com/anee/p/2675879.html
Copyright © 2011-2022 走看看