mirror of
https://github.com/thegeeklab/drone-matrix.git
synced 2024-11-21 18:10:39 +00:00
auto-update documentation
This commit is contained in:
parent
5724adf7d3
commit
665dcf67ab
@ -32,7 +32,9 @@ properties:
|
|||||||
required: false
|
required: false
|
||||||
|
|
||||||
- name: template
|
- name: template
|
||||||
description: Golang template for the messages.
|
description: |
|
||||||
defaultValue: build {{ build.status }} [{{ repo.owner }}/{{ repo.name }}#{{ truncate build.commit 8 }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}
|
Golang template for the message. The [pipeline struct](https://pkg.go.dev/github.com/thegeeklab/drone-plugin-lib/v2/drone#Pipeline)
|
||||||
|
is exposed to the template and all fields can be referenced. To extend the functionality, [sprig functions](https://masterminds.github.io/sprig/) can also be used.
|
||||||
|
defaultValue: "Build {{ .Build.Status }} [{{ .Repo.Owner }}/{{ .Repo.Name }}#{{ trunc 8 .Commit.SHA }}]({{ .Build.Link }}) ({{ .Build.Branch }}) by {{ .Commit.Author }}"
|
||||||
type: string
|
type: string
|
||||||
required: false
|
required: false
|
||||||
|
Loading…
Reference in New Issue
Block a user