How can I write a Jenkins email-ext template to display test results like the standard test report
问题 I have tweaked the standard jelly template to display the current test results in a table, however I really want to be able to display diffs as seen in Jenkins own test results page. For example: JUnit Tests: 0 failures (±0) , 1 skipped (+1) Package Duration Fail (diff) Skip (diff) Total (diff) foo.bar.baz 89 ms 0 0 1 +1 5 +2 回答1: Write a Groovy template for Email Ext plugin instead of Jelly template. In Groovy template you'll have access to Build object for your build. You can then call