Merge "Only trigger imagebuilder on relevant repos"
diff --git a/jjb/defaults.yaml b/jjb/defaults.yaml
index 294050b..819cfdf 100644
--- a/jjb/defaults.yaml
+++ b/jjb/defaults.yaml
@@ -44,6 +44,9 @@
     legacy-branches-regexp: '^(cord-5.0|cord-4.1|cord-4.0)$'
     modern-branches-regexp: '^(master|cord-6.0)$'
 
+    # for matching repos that build docker images with imagebuilder
+    imagebuilder-projects-regexp: '^(automation-tools|xos.*|chameleon|rcord|mcord|ecord|acordion|addressmanager|epc-service|exampleservice|fabric|globalxos|hippie-oss|hss_db|hypercache|internetemulator|kubernetes-service|monitoring|olt-service|onos-service|openstack|progran|sdn-controller|simpleexampleservice|templateservice|vEE|vEG|vbbu|venb|vhss|vmm|vmme|vnaas|vpgwc|vrouter|vsg|vsg-hw|vsgw|vsm|vspgwc|vspgwu|vtn-service|vtr)$'
+
     # for matching files with file-include-regexp
     all-files-regexp: '.*'
     doc-files-regexp: '^docs/.*'
diff --git a/jjb/imagebuilder.yaml b/jjb/imagebuilder.yaml
index 968a702..f9f185d 100644
--- a/jjb/imagebuilder.yaml
+++ b/jjb/imagebuilder.yaml
@@ -7,7 +7,7 @@
     # add repos that have documentation to the project list in both jobs
     jobs:
       - 'publish-imagebuilder':
-          project-regexp: '.*'
+          project-regexp: '{imagebuilder-projects-regexp}'
           branch-regexp: '{supported-branches-regexp}'