Only use -all- job if it exists
[releng/builder.git] / jjb / bgpcep / bgpcep-csit-throughpcep.yaml
index a808296a5f4a9a397e9a7b3053b6f6c24e2c0279..8a5c95b339b1ae3b710e9140102cae30e8080af8 100644 (file)
@@ -1,7 +1,8 @@
+---
 - project:
     name: bgpcep-csit-throughpcep
     jobs:
-        - '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
+      - '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
 
     # The project name
     project: 'bgpcep'
 
     # Project branches
     stream:
-        - carbon:
-            branch: 'master'
-            jre: 'openjdk8'
-        - boron:
-            branch: 'stable/boron'
-            jre: 'openjdk8'
-            install-features: 'odl-restconf,odl-bgpcep-pcep-all,odl-bgpcep-pcep'
-        - beryllium:
-            branch: 'stable/beryllium'
-            jre: 'openjdk7'
-            install-features: 'odl-restconf,odl-bgpcep-pcep-all,odl-bgpcep-pcep'
+      - oxygen:
+          branch: 'master'
+          jre: 'openjdk8'
+      - nitrogen:
+          branch: 'stable/nitrogen'
+          jre: 'openjdk8'
+      - carbon:
+          branch: 'stable/carbon'
+          jre: 'openjdk8'
+          karaf-version: karaf3
+      - boron:
+          branch: 'stable/boron'
+          jre: 'openjdk8'
+          karaf-version: karaf3
+          install-features: 'odl-restconf,odl-bgpcep-pcep-all,odl-bgpcep-pcep'
 
     install:
-        - only:
-            scope: 'only'
-        - all:
-            scope: 'all'
+      - all:
+          scope: 'all'
 
     # Features to install
     install-features: 'odl-restconf,odl-bgpcep-pcep'
     # The other options are workarounds for Sandbox not being as performant
     # as the private lab where this suite was developed.
     # Robot custom options:
-    robot-options: '-v USE_NETCONF_CONNECTOR:False -v PCEP_READY_VERIFY_TIMEOUT:5 -v RESTCONF_REUSE:False -v UPDATER_TIMEOUT:600'
+    robot-options: >
+        -v USE_NETCONF_CONNECTOR:False
+        -v PCEP_READY_VERIFY_TIMEOUT:5
+        -v RESTCONF_REUSE:False
+        -v UPDATER_TIMEOUT:600
 
     # Controller configuration
     odl_system_flavor: 8 GB General Purpose v1
+
+- project:
+    name: bgpcep-csit-gate-throughpcep
+    jobs:
+      - '{project}-csit-1node-{functionality}-{install}-{stream}'
+
+    # The project name
+    project: 'bgpcep'
+
+    # The functionality under test
+    functionality: 'gate-throughpcep'
+
+    # Project branches
+    stream:
+      - nitrogen:
+          branch: 'master'
+          jre: 'openjdk8'
+      - carbon:
+          branch: 'stable/carbon'
+          jre: 'openjdk8'
+          karaf-version: karaf3
+      - boron:
+          branch: 'stable/boron'
+          jre: 'openjdk8'
+          karaf-version: karaf3
+          install-features: 'odl-restconf,odl-bgpcep-pcep-all,odl-bgpcep-pcep'
+
+    install:
+      - all:
+          scope: 'all'
+
+    # Features to install
+    install-features: 'odl-restconf,odl-bgpcep-pcep'
+
+    # Readiness check timeout is lowered from the suite's high default value.
+    # The other options are workarounds for Sandbox not being as performant
+    # as the private lab where this suite was developed.
+    # Robot custom options:
+    robot-options: >
+        -v USE_NETCONF_CONNECTOR:False
+        -v PCEP_READY_VERIFY_TIMEOUT:5
+        -v RESTCONF_REUSE:False
+        -v UPDATER_TIMEOUT:600
+
+    # Controller configuration
+    odl_system_flavor: 8 GB General Purpose v1
+