summaryrefslogtreecommitdiff
path: root/zuul/configloader.py
diff options
context:
space:
mode:
Diffstat (limited to 'zuul/configloader.py')
-rw-r--r--zuul/configloader.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/zuul/configloader.py b/zuul/configloader.py
index fb1695c18..669cd8bbd 100644
--- a/zuul/configloader.py
+++ b/zuul/configloader.py
@@ -428,6 +428,7 @@ class JobParser(object):
# Attributes of a job that can also be used in Project and ProjectTemplate
job_attributes = {'parent': vs.Any(str, None),
'final': bool,
+ 'protected': bool,
'failure-message': str,
'success-message': str,
'failure-url': str,
@@ -467,6 +468,7 @@ class JobParser(object):
simple_attributes = [
'final',
+ 'protected',
'timeout',
'workspace',
'voting',