Update of artifact directory in csit-vpp-master-verify-semiweekly job.
[ci-management.git] / jjb / csit / csit-vpp-functional.yaml
index 728d3f5..29aab71 100644 (file)
@@ -6,6 +6,7 @@
         - 'csit-vpp-perf-hw-{type}'
         - 'csit-vpp-functional-virl'
         - 'csit-vpp-verify-weekly'
+        - 'csit-vpp-master-verify-semiweekly'
 
     project: 'csit'
     branch: 'master'
 
 - job-template:
     name: 'csit-vpp-verify-weekly'
+    description: 'Purpose of this job is to validate CSIT code against verified vpp build and apply csit-verified tag in case of success.'
 
     project-type: freestyle
     node: verify
 
     publishers:
         - archive-artifacts:
-            artifacts: 'report.html, log.html, output.xml'
+            artifacts: 'csit/report.html, csit/log.html, csit/output.xml'
             latest-only: false
 
         - robot-report:
-            output-path: ''
+            output-path: 'csit'
 
         - git:
                push-only-if-success: true
                        create-tag: true
                        update-tag: true
 
+- job-template:
+    name: 'csit-vpp-master-verify-semiweekly'
+    description: 'Purpose of this job is to validate latest vpp build stored in nexus against verified CSIT codebase.'
+
+    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:
+        - git-scm:
+            credentials-id: '{ssh-credentials}'
+            branch: 'master'
+
+    wrappers:
+        - ssh-agent-credentials:
+            users:
+                - '{ssh-credentials}'
+
+    triggers:
+        - timed: '0 4 * * 2,6'
+
+        - gerrit-trigger-manually-triggered:
+            comment-trigger-value: 'csit-verify-vpp'
+            name: '{project}'
+            branch: '{branch}'
+
+    builders:
+        - shell:
+            !include-raw-escape jjb/csit/include-raw-csit-vpp-master-verify-semiweekly.sh
+
+    publishers:
+        - archive-artifacts:
+            artifacts: 'csit/archive/*.*'
+            latest-only: false
+
+        - robot-report:
+            output-path: 'csit/archive'
+
 - parameter:
     name: test-type-parameter