-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathplugin.yml
More file actions
48 lines (48 loc) · 1.39 KB
/
plugin.yml
File metadata and controls
48 lines (48 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Buildkite Plugin
description: Exceptional functionality
author: https://github.com/buildkite-plugins
requirements:
- bash
configuration:
properties:
mandatory:
type: string
description: "A required option for your plugin."
optional:
type: string
description: "An optional configuration for your plugin."
numbers:
type: array
description: "An array where only numbers are valid."
items:
type: number
enabled:
type: boolean
description: "A boolean that can enable or disable a feature. Defaults to `false`."
default: false
config:
type: object
description: "An object with nested properties, each defined with specific types. The `host` property must always be defined."
properties:
host:
type: string
description: "A required string value for `config`."
port:
type: number
description: "A number value with a default that can be overridden."
default: 1234
ssl:
type: boolean
description: "A boolen value that defaults to `true`."
default: true
required:
- host
additionalProperties: true
timeout:
type: number
description: "A number with minimum and maximum values defined."
minimum: 1
maximum: 60
required:
- mandatory
additionalProperties: false