Commit 215e15ab authored by bram's avatar bram

Allow YAML `null` value for `only` and `except` filters

For jobs that extend another job or template, it is possible to clear the existing `only` or `except` section by leaving it blank. The schema now reflects this by allowing `null` to be set for those keys.
parent d557b47f
...@@ -764,6 +764,9 @@ ...@@ -764,6 +764,9 @@
}, },
"filter": { "filter": {
"oneOf": [ "oneOf": [
{
"type": "null"
},
{ {
"$ref": "#/definitions/filter_refs" "$ref": "#/definitions/filter_refs"
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment