Add vpp jenkins job to build vpp and run csit tests.
[ci-management.git] / jjb / vpp / vpp.yaml
index caafe1a..3283832 100644 (file)
@@ -3,6 +3,7 @@
     jobs:
         - 'vpp-verify'
         - 'vpp-merge'
+        - 'vpp-csit-verify-virl'
 
     project: 'vpp'
     branch: 'master'
         - shell:
             !include-raw-escape include-raw-vpp-maven-push.sh
 
+- job-template:
+    name: 'vpp-csit-verify-virl'
+
+    project-type: freestyle
+    node: verify-merge
+    concurrent: false
+
+    logrotate:
+        daysToKeep: '{build-days-to-keep}'
+        numToKeep: '{build-num-to-keep}'
+        artifactDaysToKeep: '{build-artifact-days-to-keep}'
+        artifactNumToKeep: '{build-artifact-num-to-keep}'
+
+    scm:
+        - zuul-trigger-scm:
+            credentials-id: '{ssh-credentials}'
+            refspec: '$ZUUL_REF'
+            commit: '$ZUUL_COMMIT'
+
+    wrappers:
+        - ssh-agent-credentials:
+            users:
+                - '{ssh-credentials}'
+
+    builders:
+        - shell:
+            !include-raw-escape include-raw-vpp-build.sh
+        - shell:
+            !include-raw-escape include-raw-vpp-csit-functional.sh
+
+
+    publishers:
+        - archive-artifacts:
+            artifacts: 'csit/report.html, csit/log.html, csit/output.xml'
+            latest-only: false
+
+        - robot-report:
+            output-path: 'csit'
+