通知

在构建结果时发送通知的通知目标

如果未给定 map,此节点将使用键 email 作为 默认前缀

类型

如果给定一个映射,则支持以下键

示例

notifications:
  campfire:
  - rooms:
    - secure: encrypted string
    template:
    - string
    if: branch = master
  - rooms:
      secure: encrypted string
  - template: string
  email:
  - recipients:
    - secure: encrypted string
    if: branch = master
    on_success: always
  - recipients:
      secure: encrypted string
  flowdock:
  - api_token:
      secure: encrypted string
    template:
    - string
    if: branch = master
  - template: string
notifications:
- recipients:
  - secure: encrypted string
  if: branch = master
  on_success: always
- recipients:
    secure: encrypted string
notifications:
- secure: encrypted string
notifications:
- true
notifications:
  recipients:
  - secure: encrypted string
  if: branch = master
  on_success: always
notifications:
  secure: encrypted string
notifications: true

Beta