+ alerting:
+
+ alerts:
+
+# As Jenkins slave is not configured to send emails, this is now only as
+# a working example:
+#
+# # Send the list of failed tests vie email.
+# # Pre-requisites:
+# # - SMTP server is installed on the Jenkins slave
+# # - SMTP server is configured to send emails. Default configuration is
+# # sufficient.
+# email-failed-tests:
+# # Title is used in logs and also as the email subject.
+# title: "Trending: Failed Tests"
+# # Type of alert.
+# type: "failed-tests"
+# # How to send the alert. The used way must be specified in the
+# # configuration part.
+# way: "email"
+# # Data to be included in the alert.
+# # Here is used the list of tables generated by the function
+# # "table_failed_tests_html".
+# include:
+# - "failed-tests-3n-hsw"
+# - "failed-tests-3n-skx"
+# - "failed-tests-2n-skx"
+# # This url is used in the tables instead of the original one. The aim
+# # is to make the links usable also from the email.
+# url: "https://docs.fd.io/csit/master/trending/trending"
+
+ # Jenkins job sends the email with failed tests.
+ # Pre-requisites:
+ # - Jenkins job is configured to send emails in "Post-build Actions" -->
+ # "Editable Email Notification".
+ jenkins-send-failed-tests:
+ title: "Trending: Failed Tests"
+ type: "failed-tests"
+ way: "jenkins"
+ include:
+ - "failed-tests-3n-hsw"
+ - "failed-tests-3n-skx"
+ - "failed-tests-2n-skx"
+ url: "https://docs.fd.io/csit/master/trending/trending"
+
+ configurations:
+ # Configuration of the email notifications.
+ email:
+ # SMTP server
+ server: "localhost"
+ # List of recipients.
+ address-to:
+ - "csit-report@lists.fd.io"
+ # Sender
+ address-from: "testuser@testserver.com"
+
+ # Configuration of notifications sent by Jenkins.
+ jenkins:
+ # The directory in the workspace where the generated data is stored and
+ # then read by Jenkins job.
+ output-dir: "_build/_static/vpp"
+ # The name of the output files. ASCII text and HTML formats are
+ # generated.
+ output-file: "trending-failed-tests"
+ # If defined, all output files are zipped into this file.
+ zip-output: "failed-tests.tar.gz"
+