From 2f99a914812db1e6c1feef0c983a3fe804be0127 Mon Sep 17 00:00:00 2001 From: "build.automotivelinux.org" Date: Tue, 21 May 2019 18:47:51 +0200 Subject: Add entry point for testreport email Bug-AGL: SPEC-1474 Change-Id: I9800023fb68196b875b55e83147b9576b86eccec Signed-off-by: build.automotivelinux.org --- jjb/ci-AGL-verify/ci-platform-jjb.yaml | 58 ++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) (limited to 'jjb/ci-AGL-verify') diff --git a/jjb/ci-AGL-verify/ci-platform-jjb.yaml b/jjb/ci-AGL-verify/ci-platform-jjb.yaml index aa4103fe..59eb30e3 100644 --- a/jjb/ci-AGL-verify/ci-platform-jjb.yaml +++ b/jjb/ci-AGL-verify/ci-platform-jjb.yaml @@ -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. \ @@ -175,6 +176,14 @@ 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 @@ -541,6 +550,55 @@ 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. \ +
Build time graph:
" + 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 -- cgit 1.2.3-korg