Add ability to disable jenkins job
PROD-34344
Change-Id: I2de1026b8c5837b6211a359a9d816b70460fa02b
diff --git a/jenkins/files/jobs/_common.xml b/jenkins/files/jobs/_common.xml
index 4dd6ab3..1472da7 100644
--- a/jenkins/files/jobs/_common.xml
+++ b/jenkins/files/jobs/_common.xml
@@ -7,6 +7,9 @@
<displayName>{{ job.display_name }}</displayName>
{%- endif %}
<keepDependencies>false</keepDependencies>
+ {%- if job.get('disabled', False) %}
+ <disabled>true</disabled>
+ {%- endif %}
<properties>
{%- if not job.concurrent|default(False) %}
<org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/>
diff --git a/tests/test-requirements.txt b/tests/test-requirements.txt
index 7188b2b..bc7dc7f 100644
--- a/tests/test-requirements.txt
+++ b/tests/test-requirements.txt
@@ -1,3 +1,4 @@
jsonschema
reno
setuptools<45.0.0
+msgpack<1.0.0