Put build status in front of the notification mail subject
[?]
Apr 2, 2013, 8:40 AM
R6SX4KIDZS4NBSGA4X255FVMNI5CKCRN3ZNSF6XTNFFTL4WVC3UACDependencies
- [2]
AJKTRRDJrename var - [3]
NZYFWV6Mhydra-build: Add system info to the subject and extra headers. - [4]
4R7OGJEYDo not send emails when build is cancelled/aborted. Also, ignore aborted/cancelled builds in comparing to previous build. - [5]
LGNML7VJDon't use a prepared statement for the active build steps query - [6]
OG7BEM57 - [7]
A22P7HCOhydra: at evaluation, check if path is already built, and mark as built in stead of adding to the queue. - [8]
LA27PR4Uhydra: fix enable email notification bug - [9]
RBHHV7P7* Read logs using logContents function in stead of handling it everywhere separately. - [10]
IW2LHCLLfixed email bug - [11]
WQXF2T3Dhydra-evaluator: Don't require $HYDRA_CONFIG - [12]
VPKMUFF3hydra-build: only send email if the status differs from the previous build - [13]
HPEG2RHVMerge the BuildResultInfo table into the Builds table - [14]
FCBQMIF3hydra-build: Do not send email following an abortion. - [15]
KA45EBF5* Send email if a build fails. - [16]
LOMVF2KHdo not send email for builds with status 'aborted' - [17]
FHAVPTZ6Hydra/23: added some X-headers with meta info in email notifications, added more descriptive status - [18]
FYO6NECEhydra - [*]
7YBYT2LQ
Change contents
- replacement in src/script/hydra-build at line 83
return if ! ( $build->jobset->enableemail && ($build->maintainers ne "" || $build->jobset->emailoverride ne "") );return unless $build->jobset->enableemail && ($build->maintainers ne "" || $build->jobset->emailoverride ne ""); - replacement in src/script/hydra-build at line 99[5.4125]→[4.55:177](∅→∅),[4.177]→[5.927:943](∅→∅),[5.9835]→[5.927:943](∅→∅),[5.943]→[5.94:100](∅→∅),[5.94]→[5.94:100](∅→∅),[5.100]→[4.178:371](∅→∅),[4.371]→[5.944:960](∅→∅),[5.9930]→[5.944:960](∅→∅),[5.960]→[5.324:330](∅→∅),[5.4248]→[5.324:330](∅→∅),[5.324]→[5.324:330](∅→∅)
# if build is cancelled or aborted, do not send emailif ($build->buildstatus == 4 || $build->buildstatus == 3) {return;}# 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)) {return;}# If build is cancelled or aborted, do not send email.return if $build->buildstatus == 4 || $build->buildstatus == 3;# If there is a previous (that is not cancelled or aborted) build# with same buildstatus, do not send email.return if defined $prevBuild && ($build->buildstatus == $prevBuild->buildstatus); - replacement in src/script/hydra-build at line 113
my $status = statusDescription($build->buildstatus);my $status = statusDescription($build->buildstatus); - replacement in src/script/hydra-build at line 193
Subject => "Hydra job $jobName on " . $build->system . ", build " . $build->id . ": $status",Subject => "$status: Hydra job $jobName on " . $build->system . ", build " . $build->id,