Merge "Require explicit list of publishers for each job"

This commit is contained in:
Jenkins 2016-11-14 09:06:21 +00:00 committed by Gerrit Code Review
commit 41b846cab6
3 changed files with 4 additions and 2 deletions

View File

@ -5,3 +5,4 @@
builders:
- revoke-sudo
- shell: 'curl -X POST https://readthedocs.org/build/{name} >/dev/null'
publishers: []

View File

@ -9,6 +9,7 @@
builders:
- shell: 'echo ok'
publishers: []
- job-template:
name: 'gate-{name}-run-tests'

View File

@ -34,9 +34,9 @@ JOB = v.Schema({
v.Required('builders'): v.All(list),
v.Required('name'): v.All(str),
v.Required('node'): v.All(str),
v.Required('publishers'): v.All(list),
'description': v.All(str),
'parameters': v.All(list),
'publishers': v.All(list),
'wrappers': v.All(list)
})
@ -50,8 +50,8 @@ JOB_TEMPLATE = v.Schema({
v.Required('builders'): v.All(list),
v.Required('name'): v.All(str),
v.Required('node'): v.All(str),
v.Required('publishers'): v.All(list),
'description': v.All(str),
'publishers': v.All(list),
'wrappers': v.All(list)
})