CSIT: Add csit-trending-weekly-2009-lts 98/30198/2
authorTibor Frank <tifrank@cisco.com>
Mon, 30 Nov 2020 12:49:39 +0000 (13:49 +0100)
committerTibor Frank <tifrank@cisco.com>
Mon, 30 Nov 2020 13:17:28 +0000 (14:17 +0100)
Change-Id: I83a2a3b60209edd8623cee2d9a737fcc5ebb7744
Signed-off-by: Tibor Frank <tifrank@cisco.com>
jjb/csit/csit.yaml

index a762e31..a3d56ac 100644 (file)
@@ -20,6 +20,7 @@
       - 'csit-docs-merge-{stream}'
       - 'csit-report-merge-{stream}'
       - 'csit-trending-daily-master'
+      - 'csit-trending-weekly-2009-lts'
 
     project: 'csit'
     branch: 'master'
       - fdio-infra-shiplogs:
           maven-version: 'mvn33-new'
 
+- job-template:
+    name: 'csit-trending-weekly-2009-lts'
+
+    project-type: freestyle
+    node: '{executor-large}'
+    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: '{branch}'
+      - maven-exec:
+          maven-version: 'mvn33-new'
+
+    scm:
+      - gerrit-trigger-scm:
+          credentials-id: 'jenkins-gerrit-credentials'
+          refspec: ''
+          choosing-strategy: 'default'
+
+    wrappers:
+      - fdio-infra-wrappers-non-activity-timeout:
+          build-timeout: '{build-timeout}'
+
+    triggers:
+      - timed: '0 0 * * 1'
+
+    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:
+          - ../scripts/setup_executor_env.sh
+      - shell:
+          !include-raw-escape:
+          - ../scripts/csit/cpta.sh
+
+    publishers:
+      - email-ext:
+          # yamllint disable-line rule:line-length
+          recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
+          reply-to: ''
+          content-type: 'text'
+          subject: '2009 LTS: Failed tests as of  $BUILD_TIMESTAMP'
+          # yamllint disable-line rule:line-length
+          body: |
+                Following tests failed in the last trending job runs, listed per testbed type.
+
+                ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-failed-tests.txt"}}
+
+          always: true
+          failure: false
+
+      - email-ext:
+          # yamllint disable-line rule:line-length
+          recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
+          reply-to: ''
+          content-type: 'text'
+          subject: '2009 LTS: Regressions as of  $BUILD_TIMESTAMP'
+          # yamllint disable-line rule:line-length
+          body: |
+                Following regressions occured in the last trending job runs, listed per testbed type.
+
+                ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-regressions.txt"}}
+
+          always: true
+          failure: false
+
+      - email-ext:
+          # yamllint disable-line rule:line-length
+          recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
+          reply-to: ''
+          content-type: 'text'
+          subject: '2009 LTS: Progressions as of  $BUILD_TIMESTAMP'
+          # yamllint disable-line rule:line-length
+          body: |
+                Following progressions occured in the last trending job runs, listed per testbed type.
+
+                ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-progressions.txt"}}
+
+          always: true
+          failure: false
+
+      - fdio-infra-shiplogs:
+          maven-version: 'mvn33-new'
+
 - project:
     name: csit-info
     project-name: csit