Merge "Add sfc features and update carbon project branch"
[releng/builder.git] / jjb / integration / integration-templates.yaml
index 3a875c538cd86d8a4d8a0230ebc7dab390f99b78..ab8cf510ddee523b22dbb8f126eb93b0b76b8d0a 100644 (file)
 # triggers the project system test defined in {csit-list} when gerrit receives test-{project} keyword
 
 - job-template:
-    name: '{project}-patch-test-{stream}'
+    name: '{project}-patch-test-{feature}-{stream}'
 
     project-type: maven
     node: centos7-java-builder-2c-8g
         - integration-branch:
             branch: '{branch}'
         - integration-distribution-git-url
+        - string:
+            name: feature
+            default: 'all'
+            description: 'Specific feature test for patch'
 
     scm:
         - integration-gerrit-scm:
             server-name: 'OpenDaylight'
             trigger-on:
                 - comment-added-contains-event:
-                    comment-contains-value: 'test-{project}'
+                    comment-contains-value: 'test-{project}-all'
+                - comment-added-contains-event:
+                    comment-contains-value: 'test-{project}-{feature}'
             projects:
               - project-compare-type: 'ANT'
                 project-pattern: '{project}'