diff options
author | pmikus <pmikus@cisco.com> | 2021-08-25 12:59:54 +0000 |
---|---|---|
committer | pmikus <pmikus@cisco.com> | 2021-08-26 13:47:57 +0000 |
commit | 42f9d6a1dca4cd1099149669786ee4d08878af7a (patch) | |
tree | 8e2347543bac166fb581d83c078f69beb7283842 /jjb/global-macros.yaml | |
parent | ecab1475357a7c3bc8d00a0244c71438e08a7fd1 (diff) |
CSIT: Email publisher
+ Fix email send when job fails
+ Resuse publishers as macro
Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: Ic6c5a5f97ff38243d0dc5d6a4665d21009acb026
Diffstat (limited to 'jjb/global-macros.yaml')
-rw-r--r-- | jjb/global-macros.yaml | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/jjb/global-macros.yaml b/jjb/global-macros.yaml index 8059ac55..0fee1573 100644 --- a/jjb/global-macros.yaml +++ b/jjb/global-macros.yaml @@ -629,6 +629,72 @@ latest-only: true - publisher: + name: csit-trending-failed + 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: '{branch}: 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="resources/tools/presentation/_build/_static/vpp/trending-failed-tests.txt"}} + failure: false + success: true + +- publisher: + name: csit-trending-failed-job + 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: '{branch}: The build number $BUILD_NUMBER of the job $JOB_NAME failed' + # yamllint disable-line rule:line-length + body: | + For more information see $BUILD_URL. + failure: true + success: false + +- publisher: + name: csit-trending-progressions + 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: '{branch}: 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="resources/tools/presentation/_build/_static/vpp/trending-progressions.txt"}} + failure: true + success: false + +- publisher: + name: csit-trending-regressions + 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: '{branch}: 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="resources/tools/presentation/_build/_static/vpp/trending-regressions.txt"}} + failure: true + success: false + +- publisher: name: email-notification publishers: - email-ext: @@ -734,6 +800,7 @@ - robot: output-path: '{output-path}' other-files: '' + # [end] Keep 'publisher' entries ordered alphabetically, please. #### BUILDERS |