Make testplan more configurable 15/53115/3
authorJamo Luhrsen <jluhrsen@redhat.com>
Fri, 10 Mar 2017 02:52:09 +0000 (18:52 -0800)
committerJamo Luhrsen <jluhrsen@redhat.com>
Fri, 10 Mar 2017 03:10:54 +0000 (19:10 -0800)
before our standard 1node and 3node templates had to have testplans
of the format {project}-{functionality}.txt. That is still the
default, but now a project can override the testplan by defining
a testplan element in their project jjb yaml.

Change-Id: I922f8feadf3f69b4c4b1e0bc36ee0fc07741af56
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
jjb/integration/integration-templates.yaml
jjb/ovsdb/ovsdb-csit-clustering.yaml
jjb/ovsdb/ovsdb-csit-southbound.yaml

index 8fc01a7629112721b7ae843d85eadef3bf712f9b..465418ed6a697476be54fff3e86fd3b079ff90e8 100644 (file)
       - opendaylight-infra-properties:
           build-days-to-keep: '{build-days-to-keep}'
 
+    testplan: '{project}-{functionality}.txt'
+
     parameters:
       - opendaylight-infra-parameters:
           project: 'integration/test'
       - integration-stream-test-plan:
           stream-test-plan: '{project}-{functionality}-{stream}.txt'
       - integration-test-plan:
-          test-plan: '{project}-{functionality}.txt'
+          test-plan: '{testplan}'
       - integration-patch-refspec:
           branch: 'master'
       - integration-jdk-version:
       - opendaylight-infra-properties:
           build-days-to-keep: '{build-days-to-keep}'
 
+    testplan: '{project}-{functionality}.txt'
+
     parameters:
       - opendaylight-infra-parameters:
           project: 'integration/test'
       - integration-stream-test-plan:
           stream-test-plan: '{project}-{functionality}-{stream}.txt'
       - integration-test-plan:
-          test-plan: '{project}-{functionality}.txt'
+          test-plan: '{testplan}'
       - integration-patch-refspec:
           branch: 'master'
       - integration-jdk-version:
index 1608c00b6cf7076ad561cb852e9fc0a9da4c4d6d..c0b29826fc8cc31fb2b677e98d6323fa98f2e8c3 100644 (file)
@@ -7,6 +7,8 @@
     # The project name
     project: 'ovsdb'
 
+    testplan: 'ovsdb-clustering.txt'
+
     # The functionality under test
     functionality:
       - 'upstream-clustering'
index 142e5e28d92cae773d3f22d8ae13fe7bd0c4da0b..4ae58f9ca746a3f7eb56d08542bafb6067cd5c3c 100644 (file)
@@ -7,11 +7,14 @@
     # The project name
     project: 'ovsdb'
 
+    testplan: 'ovsdb-southbound.txt'
+
     # The functionality under test
     functionality:
       - 'upstream-southbound'
       - 'gate-southbound'
 
+
     # Project branches
     stream:
       - carbon: