2022-05-28 13:24:23 +00:00
|
|
|
---
|
|
|
|
properties:
|
2022-11-24 14:09:28 +00:00
|
|
|
- name: username
|
2022-05-29 20:22:48 +00:00
|
|
|
description: Authentication username. If set, the `password` parameter is required as well.
|
2022-05-28 13:24:23 +00:00
|
|
|
type: string
|
|
|
|
required: false
|
|
|
|
|
2022-11-24 14:09:28 +00:00
|
|
|
- name: password
|
2022-05-29 20:22:48 +00:00
|
|
|
description: Authentication password.
|
2022-05-28 13:24:23 +00:00
|
|
|
type: string
|
|
|
|
required: false
|
|
|
|
|
2022-11-24 14:09:28 +00:00
|
|
|
- name: user_id
|
2022-05-29 20:22:48 +00:00
|
|
|
description: Aauthentication User ID. If set, the `access_token` parameter is required as well.
|
2022-05-28 13:24:23 +00:00
|
|
|
type: string
|
|
|
|
required: false
|
|
|
|
|
2022-11-24 14:09:28 +00:00
|
|
|
- name: access_token
|
2022-05-29 20:22:48 +00:00
|
|
|
description: Authentication access token.
|
2022-05-28 13:24:23 +00:00
|
|
|
type: string
|
|
|
|
required: false
|
|
|
|
|
2022-11-24 14:09:28 +00:00
|
|
|
- name: homeserver
|
2022-05-28 13:24:23 +00:00
|
|
|
description: The Matrix homeserver url to use.
|
|
|
|
defaultValue: https://matrix.org
|
|
|
|
type: string
|
|
|
|
required: false
|
|
|
|
|
2022-11-24 14:09:28 +00:00
|
|
|
- name: roomid
|
2022-05-29 20:22:48 +00:00
|
|
|
description: Room ID to send messages to.
|
2022-05-28 13:24:23 +00:00
|
|
|
type: string
|
|
|
|
required: false
|
|
|
|
|
2022-11-24 14:09:28 +00:00
|
|
|
- name: template
|
2022-05-29 20:22:48 +00:00
|
|
|
description: Golang template for the messages.
|
2022-05-28 13:24:23 +00:00
|
|
|
defaultValue: build {{ build.status }} [{{ repo.owner }}/{{ repo.name }}#{{ truncate build.commit 8 }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}
|
|
|
|
type: string
|
|
|
|
required: false
|