Add entry point for testreport email 59/21359/2
authorbuild.automotivelinux.org <jenkins@automotivelinux.org>
Tue, 21 May 2019 16:47:51 +0000 (18:47 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Thu, 23 May 2019 11:45:00 +0000 (11:45 +0000)
Bug-AGL: SPEC-1474

Change-Id: I9800023fb68196b875b55e83147b9576b86eccec
Signed-off-by: build.automotivelinux.org <jenkins@automotivelinux.org>
jjb/ci-AGL-verify/ci-platform-jjb.yaml

index aa4103f..59eb30e 100644 (file)
@@ -25,6 +25,7 @@
       - ci-platform-{project}-verify-failure
       # - ci-platform-{project}-verify-CIBT-start            #unused
       - ci-platform-{project}-verify-CIBT-{machine}
+      - ci-platform-{project}-verify-CIBT-complete
       - ci-platform-{project}-verify-CIBT-finish-success
       - ci-platform-{project}-remove-artifacts
     description: "Managed by JJB. Do not Edit. \
               current-parameters: true
               #abort-all-job: true
               kill-phase-on: FAILURE
+      - multijob:
+          name: 'CIBT-{project}-complete'
+          condition: ALWAYS
+          projects:
+            - name: 'ci-platform-{project}-verify-CIBT-complete'
+              current-parameters: true
+              abort-all-job: true
+              kill-phase-on: FAILURE
       - multijob:
           name: 'CIBT-{project}-finish-success'
           condition: SUCCESSFUL
           progressive-delay-maximum: 6
           regular-expression: "/.*Timed out waiting for device dev-tty.*/"
 
+################################################################################
+################################################################################
+# -verify-CIBT-complete = CI BOOT TEST executed, send email
+################################################################################
+- job-template:
+    name: 'ci-platform-{project}-verify-CIBT-complete'
+    project-type: freestyle
+    concurrent: true
+    node: control-slave
+    description: "Managed by JJB. Do not Edit. \
+                  <br>Build time graph:<br><img src='buildTimeGraph/png' />"
+    parameters:
+      - string:
+          name: GERRIT_PROJECT
+          default: 'AGL/{project}'
+          description: "Project to build"
+      - string:
+          name: GERRIT_BRANCH
+          default: master
+          description: "branch to build"
+      - string:
+          name: GERRIT_REFSPEC
+          default: refs/heads/master
+          description: "refspec to build"
+      - string:
+          name: GERRIT_CHANGE_NUMBER
+          default: "8313"
+          description: "change # to build"
+      - string:
+          name: GERRIT_PATCHSET_NUMBER
+          default: "2"
+          description: "patchset # to build"
+    build-discarder:
+      days-to-keep: 30
+      artifact-days-to-keep: -1
+      artifact-num-to-keep: 5
+    wrappers:
+      - agl-infra-wrappers:
+          build-timeout: '{build-timeout}'
+      - openstack:
+          single-use: false
+    builders:
+      - shell:
+          !include-raw-escape:
+          - ../common/include-agl-header.sh
+          # -
+          # -
+          # TODO: ADD EMAIL QUERY HERE
+
 ################################################################################
 ################################################################################
 # -verify-CIBT-finish-success = CI BOOT TEST succeeded, CIBT+1 to gerrit