mirror of
https://github.com/thegeeklab/woodpecker-plugins.git
synced 2024-11-22 09:20:39 +00:00
19 lines
378 B
Cheetah
19 lines
378 B
Cheetah
---
|
|
{{- if .GlobalArgs }}
|
|
properties:
|
|
{{- range $v := .GlobalArgs }}
|
|
- name: {{ $v.Name }}
|
|
{{- with $v.Description }}
|
|
description: |
|
|
{{ . | ToSentence }}
|
|
{{- end }}
|
|
{{- with $v.Type }}
|
|
type: {{ . }}
|
|
{{- end }}
|
|
{{- with $v.Default }}
|
|
defaultValue: {{ . }}
|
|
{{- end }}
|
|
required: {{ default false $v.Required }}
|
|
{{ end -}}
|
|
{{ end -}}
|