Only use -all- job if it exists
[releng/builder.git] / jjb / bgpcep / bgpcep-csit-throughpcep.yaml
index 1a3580fa35a0f37a04f6f0db92d9763311ce7dc6..8a5c95b339b1ae3b710e9140102cae30e8080af8 100644 (file)
     # The functionality under test
     functionality: 'throughpcep'
 
+    # Project branches
+    stream:
+      - 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:
+      - 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
+
+- 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:
@@ -26,8 +75,6 @@
           install-features: 'odl-restconf,odl-bgpcep-pcep-all,odl-bgpcep-pcep'
 
     install:
-      - only:
-          scope: 'only'
       - all:
           scope: 'all'
 
@@ -46,3 +93,4 @@
 
     # Controller configuration
     odl_system_flavor: 8 GB General Purpose v1
+