CSIT: csit-trending-daily-master
[ci-management.git] / jjb / csit / csit.yaml
index 83ca7c0..a2a3efd 100644 (file)
 
     publishers:
       - email-ext:
+          # yamllint disable-line rule:line-length
+          presend-script: "EMAIL_BODY = sh script: 'cat **/build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-failed-tests.txt, returnStdout: true"
           # yamllint disable-line rule:line-length
           recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
           reply-to: ''
           body: |
                 Following tests failed in the last trending job runs, listed per testbed type.
 
-                $FILE,path="**/build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-failed-tests.txt"
+                $EMAIL_BODY
 
           always: true
           failure: false