zoukankan      html  css  js  c++  java
  • Email-ext plugin

    https://wiki.jenkins.io/display/JENKINS/Email-ext+plugin

    General

    This plugin extends Jenkins built in email notification functionality by giving you more control.  It provides customization of 3 areas.

    • Triggers - Select the conditions that should cause an email notification to be sent.
    • Content - Specify the content of each triggered email's subject and body.  
    • Recipients - Specify who should receive an email when it is triggered.

    Configuration

    Global configuration

    Before using email-ext on a project, you must configure some global settings.  Go to Jenkins System configuration page.  Manage Jenkins -> Configure System

    The section titled Extended E-mail Notification is where you can configure global email-ext properties.  The properties here should match the settings for your smtp mail server.  This section is set up to mirror Jenkins own email Publisher Reporter (It's different extension point), however there are a few additions.  The inputs labeled Default Subject and Default Content, allow you to configure the email content on a global level.  The input labeled Default Recipients can be used to set a default list of email addresses for all projects using plugin (it can be overridden at the project level). This can be used to greatly simplify the configuration you need to do for all projects.

    在全局配置中,section名字为Extended E-mail Notification。其中配置recipients的配置,

    Customize the default recipient list of the email notifications. The plugin will use this list if none is overridden in the project configuration. You may use the $DEFAULT_RECIPIENTS token in projects to include this default list, as well as add new addresses at the project level. To CC or BCC someone instead of putting them in the To list, add cc: or bcc: before the email address (e.g., cc:someone@example.com, bcc:bob@example.com).

    分隔符是“逗号+空格”

  • 相关阅读:
    使用CXF开发Web Service服务
    IT成长中的龟兔赛跑
    IT成长中的龟兔赛跑
    什么是共识算法
    python字节序列
    数据分析必备的统计学(二):假设检验
    以太坊Casper 与 分片
    以太坊君士坦丁堡(Constantinople)升级公告
    以太坊基金会:前路,2018
    以太坊团队·2017年第四季度总结
  • 原文地址:https://www.cnblogs.com/chucklu/p/9103677.html
Copyright © 2011-2022 走看看