hydra: fixed email notification bug, when build is performed for the first time (it always said succeeded in the body of the mail

[?]
Aug 9, 2010, 1:08 PM
K7IRNVRFNKJ5GVY5BPZ2VRJCY4VRO75OXRYX4W2JFUPB7CVAON5AC

Dependencies

  • [2] FHAVPTZ6 Hydra/23: added some X-headers with meta info in email notifications, added more descriptive status
  • [3] KA45EBF5 * Send email if a build fails.
  • [4] IS32JFKX * Typo.
  • [5] FYO6NECE hydra
  • [*] 7YBYT2LQ

Change contents

  • replacement in src/script/hydra_build.pl at line 165
    [3.67][2.518:701]()
    . " of job " . $jobName . " " . (defined $prevBuild ? "has changed from '".statusDescription($prevBuild->resultInfo->buildstatus)."' to '$status'" : "has succeeded" ) .".\n"
    [3.67]
    [3.965]
    . " of job " . $jobName . " " . (defined $prevBuild ? "has changed from '".statusDescription($prevBuild->resultInfo->buildstatus)."' to '$status'" : "is '$status'." ) .".\n"