Do not send emails when build is cancelled/aborted. Also, ignore aborted/cancelled builds in comparing to previous build.
[?]
Aug 5, 2012, 10:00 PM
4R7OGJEYHBNKPETNWBZAGGM33MZ45DMIPEFFD5DZH32OE2KMOIPQCDependencies
- [2]
VPKMUFF3hydra-build: only send email if the status differs from the previous build - [3]
RBHHV7P7* Read logs using logContents function in stead of handling it everywhere separately. - [4]
FCBQMIF3hydra-build: Do not send email following an abortion. - [5]
HPEG2RHVMerge the BuildResultInfo table into the Builds table - [6]
KA45EBF5* Send email if a build fails. - [7]
FYO6NECEhydra - [8]
LOMVF2KHdo not send email for builds with status 'aborted' - [*]
7YBYT2LQ
Change contents
- edit in src/script/hydra-build at line 92
, -not => { buildstatus => { -in => [4, 3]} } - replacement in src/script/hydra-build at line 96
# if there is a previous build with same buildstatus, do not send emailif (defined $prevBuild && ($build->buildstatus == $prevBuild->buildstatus)) {# if build is cancelled or aborted, do not send emailif ($build->buildstatus == 4 || $build->buildstatus == 3) { - replacement in src/script/hydra-build at line 100
# if buildstatus of this build or the previous one is aborted, do# not send emailif ($build->buildstatus == 3 || (defined $prevBuild && ($prevBuild->buildstatus == 3))) {# if there is a previous (that is not cancelled or aborted) build with same buildstatus, do not send emailif (defined $prevBuild && ($build->buildstatus == $prevBuild->buildstatus)) {