Robot testing framework 88/88/7
authorKeith Burns (alagalah) <[email protected]>
Mon, 4 Jan 2016 21:23:01 +0000 (13:23 -0800)
committerKeith Burns (alagalah) <[email protected]>
Tue, 5 Jan 2016 18:53:10 +0000 (10:53 -0800)
- please note this ties in with new CSIT repo and this change
referenced here: https://gerrit.projectrotterdam.info/r/#/c/91/

Change-Id: I6cad694155c65b7618bbb5dea5bac3888fbcbe59
Signed-off-by: Keith Burns (alagalah) <[email protected]>
jjb/csit/vpp-bridge-domain.yaml [new file with mode: 0644]

diff --git a/jjb/csit/vpp-bridge-domain.yaml b/jjb/csit/vpp-bridge-domain.yaml
new file mode 100644 (file)
index 0000000..c3368d0
--- /dev/null
@@ -0,0 +1,57 @@
+- project:
+    name: vpp-bridge-domain
+
+    jobs:
+        - 'vpp-{functionality}'
+
+    project: 'vpp'
+    branch: 'master'
+
+    functionality: 'bridge-domain'
+
+- job-template:
+    name: 'vpp-{functionality}'
+
+    project-type: freestyle
+    node: verify
+    concurrent: true
+
+    logrotate:
+        daysToKeep: '{build-days-to-keep}'
+        numToKeep: '{build-num-to-keep}'
+        artifactDaysToKeep: '{build-artifact-days-to-keep}'
+        artifactNumToKeep: '{build-artifact-num-to-keep}'
+
+    parameters:
+        - project-parameter:
+            project: '{project}'
+        - gerrit-parameter:
+            branch: '{branch}'
+
+    scm:
+        - gerrit-trigger-scm:
+            credentials-id: '{ssh-credentials}'
+            refspec: '$GERRIT_REFSPEC'
+            choosing-strategy: 'gerrit'
+
+    wrappers:
+        - ssh-agent-credentials:
+            users:
+                - '{ssh-credentials}'
+        - jclouds:
+            instances:
+                - multi-link:
+                    cloud-name: 'Primary'
+                    count: 3
+                    stop-on-terminate: False
+
+    builders:
+        # This is where we will need to insert a step with a script that pulls all the 
+        # allocated IP addresses and injecting as vars into the env. (see Opendaylight script: include-raw-integration-get-slave-addresses.sh
+        # See jjb/integration from ODL
+        - shell:
+            !include-raw-escape ../vpp/include-raw-vpp-build.sh
+
+    publishers:
+        - archive-artifacts:
+            artifacts: 'build-root/**'