summaryrefslogtreecommitdiffstats
path: root/jjb/csit
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2019-10-10 10:48:14 +0200
committerTibor Frank <tifrank@cisco.com>2019-10-11 12:08:39 +0200
commita5bf16220af36a9482c442f71aacf7cdcf13cb2e (patch)
tree5a4976dc941be041813f756556b9a98348bc762f /jjb/csit
parent0a42bc21b89579d053d3ade644137382d6fa2485 (diff)
CSIT: Add email with regressions and progressions
Change-Id: I3a912566301788e583f4c05c05edd4d2154ef7e6 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'jjb/csit')
-rw-r--r--jjb/csit/csit.yaml30
-rw-r--r--jjb/csit/include-raw-csit-cpta.sh5
2 files changed, 34 insertions, 1 deletions
diff --git a/jjb/csit/csit.yaml b/jjb/csit/csit.yaml
index 34c6cabe5..ee6a65ffe 100644
--- a/jjb/csit/csit.yaml
+++ b/jjb/csit/csit.yaml
@@ -268,6 +268,36 @@
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: '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: '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'
diff --git a/jjb/csit/include-raw-csit-cpta.sh b/jjb/csit/include-raw-csit-cpta.sh
index 8225745c3..acb8df077 100644
--- a/jjb/csit/include-raw-csit-cpta.sh
+++ b/jjb/csit/include-raw-csit-cpta.sh
@@ -6,18 +6,21 @@ set -xe -o pipefail
[ "${PROJECT_PATH}" ] || PROJECT_PATH="io/fd/csit"
[ "${DOC_DIR}" ] || DOC_DIR="resources/tools/presentation"
[ "${BUILD_DIR}" ] || BUILD_DIR="${DOC_DIR}/_build"
-[ "${SECONDARY_BUILD_DIR}" ] || SECONDARY_BUILD_DIR="${DOC_DIR}_new/_build"
[ "${SITE_DIR}" ] || SITE_DIR="build-root/docs/deploy-site"
[ "${RESOURCES_DIR}" ] || RESOURCES_DIR="${SITE_DIR}/src/site/resources/trending"
[ "${STATIC_VPP_DIR}" ] || STATIC_VPP_DIR="${RESOURCES_DIR}/_static/vpp"
[ "${MVN}" ] || MVN="/opt/apache/maven/bin/mvn"
[ "${FAILED_TESTS}" ] || FAILED_TESTS="${STATIC_VPP_DIR}/trending-failed-tests.txt"
+[ "${REGRESSIONS}" ] || REGRESSIONS="${STATIC_VPP_DIR}/trending-regressions.txt"
+[ "${PROGRESSIONS}" ] || PROGRESSIONS="${STATIC_VPP_DIR}/trending-progressions.txt"
# Create a text file with email body in case the build fails:
cd "${WORKSPACE}"
mkdir -p "${STATIC_VPP_DIR}"
EMAIL_BODY="ERROR: The build number ${BUILD_NUMBER} of the job ${JOB_NAME} failed. For more information see: ${BUILD_URL}"
echo "${EMAIL_BODY}" > "${FAILED_TESTS}"
+echo "${EMAIL_BODY}" > "${REGRESSIONS}"
+echo "${EMAIL_BODY}" > "${PROGRESSIONS}"
cd "${DOC_DIR}"
chmod +x ./run_cpta.sh