Matrix

by drone-plugins

This plugin can be used to send build success or failure messages to a Matrix room. The below pipeline configuration demonstrates simple usage:

steps:
- name: notify
  image: plugins/matrix
  settings:
    homeserver: https://matrix.org
    roomid: abcdefghijklmnopqrstuvwxyz:matrix.org
    username: octocat
    password: p455w0rd

Example configuration using named secrets:

steps:
- name: notify
  image: plugins/matrix
  settings:
    homeserver: https://matrix.org
    roomid: abcdefghijklmnopqrstuvwxyz:matrix.org
    username:
      from_secret: matrix_username
    password:
      from_secret: matrix_password

Parameter Reference

username
Username on homeserver
password
Password on homeserver (use with username)
userid
Matrix user ID (@user:homeserver.tld)
accesstoken
Matrix access token (use with userid)
homeserver
Matrix homeserver URL, defaults to https://matrix.org
roomid
Room ID to send messages (not alias, but ID, and you can skip the !)
template
Template for the message

¿Hay algún error en esta página? Por favor, háganoslo saber o edite esta página.