Update of the job 'vpp-csit-verify-virl'
[ci-management.git] / jjb / vpp / vpp.yaml
index 6201c08..103c72d 100644 (file)
@@ -3,6 +3,7 @@
     jobs:
         - 'vpp-verify'
         - 'vpp-merge'
+        - 'vpp-csit-verify-virl'
 
     project: 'vpp'
     branch: 'master'
             users:
                 - '{ssh-credentials}'
 
+    triggers:
+        - gerrit-trigger-patch-submitted:
+            name: '{project}'
+            branch: '{branch}'
+
     builders:
         - shell:
             !include-raw-escape include-raw-vpp-build.sh
             users:
                 - '{ssh-credentials}'
 
+    triggers:
+        - gerrit-trigger-patch-merged:
+            name: '{project}'
+            branch: '{branch}'
+
     builders:
         - shell:
             !include-raw-escape include-raw-vpp-build.sh
         - shell:
             !include-raw-escape include-raw-vpp-maven-push.sh
 
+- job-template:
+    name: 'vpp-csit-verify-virl'
+
+    project-type: freestyle
+    node: verify
+    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}'
+
+    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}'
+
+    triggers:
+        - gerrit-trigger-manually-triggered:
+            comment-trigger-value: 'manualrun'
+            name: '{project}'
+            branch: '{branch}'
+
+    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'
+