CSIT: Add csit-report-merge-1901_1 90/18290/1
authorTibor Frank <tifrank@cisco.com>
Thu, 14 Mar 2019 13:23:53 +0000 (14:23 +0100)
committerTibor Frank <tifrank@cisco.com>
Thu, 14 Mar 2019 13:23:53 +0000 (14:23 +0100)
Change-Id: Ie9d1415a7640562e6eac1c22d6f26ef3e53b1ee7
Signed-off-by: Tibor Frank <tifrank@cisco.com>
jjb/csit/csit.yaml

index 5790caf..4b0ecad 100644 (file)
@@ -35,6 +35,7 @@
       - 'csit-docs-merge-{stream_timed}'
       - 'csit-docs-verify-{stream}'
       - 'csit-report-merge-{stream}'
+      - 'csit-report-merge-1901_1'
       - 'csit-trending-daily-master'
       - 'csit-dpdk-perf-verify-{stream}-{topo}-{arch}'
       - 'csit-dpdk-perf-mrr-weekly-master'
       - fdio-infra-shiplogs:
           maven-version: 'mvn33-new'
 
+- job-template:
+    name: 'csit-report-merge-1901_1'
+
+    project-type: freestyle
+    node: 'ubuntu1604-basebuild-8c-32g'
+    concurrent: false
+
+    build-discarder:
+      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: 'rls1901_1'
+      - maven-exec:
+          maven-version: 'mvn33-new'
+
+    scm:
+      - gerrit-trigger-scm:
+          credentials-id: 'jenkins-gerrit-credentials'
+          refspec: '$GERRIT_REFSPEC'
+          choosing-strategy: 'default'
+
+    wrappers:
+      - fdio-infra-wrappers-non-activity-timeout:
+          build-timeout: '{build-timeout}'
+
+    triggers:
+      - gerrit:
+          server-name: 'Primary'
+          trigger-on:
+            - comment-added-contains-event:
+                comment-contains-value: 'run-report'
+          projects:
+            - project-compare-type: 'ANT'
+              project-pattern: '{project}'
+              branches:
+                - branch-compare-type: 'ANT'
+                  branch-pattern: '**/{branch}'
+          skip-vote:
+            successful: true
+            failed: true
+            unstable: true
+            notbuilt: true
+
+    builders:
+      - maven-target:
+          maven-version: 'mvn33-new'
+          goals: '--version'
+          settings: 'csit-settings'
+          settings-type: cfp
+          global-settings: 'global-settings'
+          global-settings-type: cfp
+      - provide-maven-settings:
+          settings-file: 'csit-settings'
+          global-settings-file: 'global-settings'
+      - shell:
+          !include-raw-escape: include-raw-csit-report.sh
+
+    publishers:
+      - archive:
+          artifacts: 'resources/tools/presentation/csit.report.tar.gz'
+          allow-empty: 'true'
+          fingerprint: false
+          only-if-success: true
+          default-excludes: false
+
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
+
 - job-template:
     name: 'csit-trending-daily-master'