forked from lix-project/hydra
hydra: fixed email notification bug, when build is performed for the first time (it always said succeeded in the body of the mail
This commit is contained in:
parent
87007fb97c
commit
066fd3e41f
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ sub sendEmailNotification {
|
|||
my $body = "Hi,\n"
|
||||
. "\n"
|
||||
. "This is to let you know that Hydra build " . $build->id
|
||||
. " of job " . $jobName . " " . (defined $prevBuild ? "has changed from '".statusDescription($prevBuild->resultInfo->buildstatus)."' to '$status'" : "has succeeded" ) .".\n"
|
||||
. " of job " . $jobName . " " . (defined $prevBuild ? "has changed from '".statusDescription($prevBuild->resultInfo->buildstatus)."' to '$status'" : "is '$status'." ) .".\n"
|
||||
. "\n"
|
||||
. "Complete build information can be found on this page: "
|
||||
. "$selfURI/build/" . $build->id . "\n"
|
||||
|
|
Loading…
Reference in a new issue