-
Patch
-
Resolution: Incomplete
-
Major
-
None
-
Platform: All, OS: All
Attached is a patch that adds the following to the email-ext plugin:
- Regression trigger: Applies when current build has more failures than previous
build. - Improvement trigger: Applies when current build has fewer failures than
previous build. - Added options to tokens:
- FAILED_TESTS: showStack option to suppress stack traces in the mail
- CHANGES_SINCE_LAST_BUILD: showDependencies option to show changes in
projects the current project depends on
All of these have been tested and work on our Hudson instance.
comradep, ashlux:
yes quite similar, but in fact different.
My idea is not "triggered by total number of tests and its diff to previous build", but trigger by diff in tests itselfs, so there are three scenarios:
in this patch, my third scenario (Still-Unstable-Changed) is included & triggered in two triggers patched (Regression trigger or Improvement trigger) as it depends of what the change in SCM is (better or worst). But scenario Still-Unstable-Changed is imho valid and usefull (at least for me) and cannot be seen only by measuring diff of total count of failing tests.
See more in
JENKINS-5282. Comradep , if you like that idea, can you repatch to these 3 triggers? I can provide betatesting.